Skip to content

Commit 7f98186

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 61e02b7 commit 7f98186

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: libraries/ESP_NOW/src/ESP32_NOW.cpp

+1-1
Original file line numberDiff line numberDiff 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
}

Diff for: libraries/ESP_NOW/src/ESP32_NOW.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

1111
class ESP_NOW_Class : public Print {
1212
public:
@@ -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

7979
extern ESP_NOW_Class ESP_NOW;

0 commit comments

Comments
 (0)