mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 09:43:23 +00:00
ESP-NOW + Wi-Fi
This commit is contained in:
@@ -429,6 +429,9 @@ void task(void *pvParameters)
|
|||||||
uint8_t channel;
|
uint8_t channel;
|
||||||
esp_wifi_get_channel(&channel, NULL);
|
esp_wifi_get_channel(&channel, NULL);
|
||||||
ESP_LOGE(TAG, "ESP-NOW Channel: %d", channel);
|
ESP_LOGE(TAG, "ESP-NOW Channel: %d", channel);
|
||||||
|
|
||||||
|
mqtt_app_start();
|
||||||
|
|
||||||
vTaskDelay(pdMS_TO_TICKS(2500));
|
vTaskDelay(pdMS_TO_TICKS(2500));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user