mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-29 21:18:18 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -318,7 +318,7 @@ int example_espnow_data_parse(uint8_t *data, uint16_t data_len, uint8_t *state,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void espnow_data_prepare(espnow_send_param_t *send_param) {
|
void espnow_data_prepare(espnow_send_param_t *send_param) {
|
||||||
// Struct data
|
// Data struct
|
||||||
espnow_data_t *buf = (espnow_data_t *)send_param->buffer;
|
espnow_data_t *buf = (espnow_data_t *)send_param->buffer;
|
||||||
|
|
||||||
assert(send_param->len >= sizeof(espnow_data_t));
|
assert(send_param->len >= sizeof(espnow_data_t));
|
||||||
|
Reference in New Issue
Block a user