mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
enabled esp8266 onDataSent
bug fix
This commit is contained in:
parent
c23af5e348
commit
85444858ab
@ -183,6 +183,7 @@ void beginFDRS() {
|
||||
}
|
||||
esp_now_set_self_role(ESP_NOW_ROLE_COMBO);
|
||||
esp_now_register_recv_cb(OnDataRecv);
|
||||
esp_now_register_send_cb(OnDataSent);
|
||||
|
||||
// Register peers
|
||||
esp_now_add_peer(gatewayAddress, ESP_NOW_ROLE_COMBO, 0, NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user