ESP-IDF Robot ESP NOW

This commit is contained in:
2024-12-24 19:51:30 -05:00
parent 42748f0b7f
commit 28965124fc

View File

@@ -471,10 +471,6 @@ static void espnow_task (void *pvParameter) {
static esp_err_t espnow_init(void) {
espnow_send_param_t *send_param;
// Define message to be sent.
message.mtr_a_pwm = 0x010;
message.mtr_b_pwm = 0x512;
espnow_queue = xQueueCreate(ESPNOW_QUEUE_SIZE, sizeof(espnow_event_t));
// Confirm that queue exists, and continue if so.
if (espnow_queue == NULL) {