ESP-IDF Robot ESP NOW

This commit is contained in:
2024-12-24 20:30:50 -05:00
parent beaa37baaf
commit 30fec02555

View File

@@ -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) {
// Struct data
// Data struct
espnow_data_t *buf = (espnow_data_t *)send_param->buffer;
assert(send_param->len >= sizeof(espnow_data_t));