mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 14:17:17 +00:00
ESP32-C3 RC & Receiver
This commit is contained in:
@@ -59,6 +59,7 @@ static void wifi_init(void)
|
||||
ESP_ERROR_CHECK( esp_wifi_set_channel(CONFIG_ESPNOW_CHANNEL, WIFI_SECOND_CHAN_NONE)); // Both sender & receiver must be on the same channel
|
||||
}
|
||||
|
||||
// Call-back for the event when data is being received
|
||||
void onDataReceived (uint8_t *mac_addr, uint8_t *data, uint8_t data_len) {
|
||||
|
||||
//memcpy(buf, data, data_len);
|
||||
|
Reference in New Issue
Block a user