fix: error sending more than 255 bytes

This commit is contained in:
2025-05-04 13:40:18 +03:00
parent 7c4650d87a
commit 87d4713b40
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ extern "C"
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_espnow_send(const uint8_t *target, const uint8_t *data, const uint8_t data_len);
esp_err_t zh_espnow_send(const uint8_t *target, const uint8_t *data, const uint16_t data_len);
/**
* @brief Get ESP-NOW version.