From 8fa1ee7f54d634592b8e1d5a673aed93e9e50f44 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Tue, 16 Feb 2021 13:42:51 +0900 Subject: [PATCH] . --- espnow/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espnow/src/main.cpp b/espnow/src/main.cpp index 07a36c7..728011e 100644 --- a/espnow/src/main.cpp +++ b/espnow/src/main.cpp @@ -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() {