File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ bool ESP_NOW_Class::end() {
191191 return true ;
192192 }
193193 // remove all peers
194- for (uint8_t i = 0 ; i < ESP_NOW_MAX_TOTAL_PEER_NUM; i++) {
194+ for (uint8_t i = 0 ; i < ESP_NOW_MAX_TOTAL_PEER_NUM; i++) {
195195 if (_esp_now_peers[i] != NULL ) {
196196 removePeer (*_esp_now_peers[i]);
197197 }
Original file line number Diff line number Diff line change 66#include " esp32-hal-log.h"
77#include " esp_mac.h"
88
9- class ESP_NOW_Peer ; // forward declaration for friend function
9+ class ESP_NOW_Peer ; // forward declaration for friend function
1010
1111class ESP_NOW_Class : public Print {
1212public:
@@ -73,7 +73,7 @@ class ESP_NOW_Peer {
7373 log_i (" Message transmission to peer " MACSTR " %s" , MAC2STR (mac), success ? " successful" : " failed" );
7474 }
7575
76- friend bool ESP_NOW_Class::removePeer (ESP_NOW_Peer&);
76+ friend bool ESP_NOW_Class::removePeer (ESP_NOW_Peer &);
7777};
7878
7979extern ESP_NOW_Class ESP_NOW;
You can’t perform that action at this time.
0 commit comments