File tree 2 files changed +3
-3
lines changed
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() {
191
191
return true ;
192
192
}
193
193
// 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++) {
195
195
if (_esp_now_peers[i] != NULL ) {
196
196
removePeer (*_esp_now_peers[i]);
197
197
}
Original file line number Diff line number Diff line change 6
6
#include " esp32-hal-log.h"
7
7
#include " esp_mac.h"
8
8
9
- class ESP_NOW_Peer ; // forward declaration for friend function
9
+ class ESP_NOW_Peer ; // forward declaration for friend function
10
10
11
11
class ESP_NOW_Class : public Print {
12
12
public:
@@ -73,7 +73,7 @@ class ESP_NOW_Peer {
73
73
log_i (" Message transmission to peer " MACSTR " %s" , MAC2STR (mac), success ? " successful" : " failed" );
74
74
}
75
75
76
- friend bool ESP_NOW_Class::removePeer (ESP_NOW_Peer&);
76
+ friend bool ESP_NOW_Class::removePeer (ESP_NOW_Peer &);
77
77
};
78
78
79
79
extern ESP_NOW_Class ESP_NOW;
You can’t perform that action at this time.
0 commit comments