This commit is contained in:
Dooho Yi 2021-02-16 13:42:51 +09:00
parent 12d0a2dd5f
commit 8fa1ee7f54

View file

@ -68,7 +68,7 @@ void setup() {
esp_now_register_recv_cb(OnDataRecv);
// 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() {