mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-12 07:27:20 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -471,10 +471,6 @@ static void espnow_task (void *pvParameter) {
|
|||||||
static esp_err_t espnow_init(void) {
|
static esp_err_t espnow_init(void) {
|
||||||
espnow_send_param_t *send_param;
|
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));
|
espnow_queue = xQueueCreate(ESPNOW_QUEUE_SIZE, sizeof(espnow_event_t));
|
||||||
// Confirm that queue exists, and continue if so.
|
// Confirm that queue exists, and continue if so.
|
||||||
if (espnow_queue == NULL) {
|
if (espnow_queue == NULL) {
|
||||||
|
Reference in New Issue
Block a user