.
This commit is contained in:
parent
12d0a2dd5f
commit
8fa1ee7f54
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ void setup() {
|
||||||
esp_now_register_recv_cb(OnDataRecv);
|
esp_now_register_recv_cb(OnDataRecv);
|
||||||
|
|
||||||
// Register peer
|
// Register peer
|
||||||
esp_now_add_peer(broadcastAddress, ESP_NOW_ROLE_SLAVE, 1, NULL, 0);
|
esp_now_add_peer(broadcastAddress, ESP_NOW_ROLE_COMBO, 1, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue