Skip to content

Commit 516d5b2

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 5945e23 commit 516d5b2

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

libraries/Zigbee/examples/Zigbee_Color_Dimmable_Light/Zigbee_Color_Dimmable_Light.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void setup() {
6868
while (!Serial) {
6969
delay(10);
7070
}
71-
71+
7272
// Init RMT and leave light OFF
7373
rgbLedWrite(LED_PIN, 0, 0, 0);
7474

libraries/Zigbee/examples/Zigbee_On_Off_Switch/Zigbee_On_Off_Switch.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void setup() {
130130
Serial.println("Rebooting...");
131131
ESP.restart();
132132
}
133-
133+
134134
Serial.println("Waiting for Light to bound to the switch");
135135
//Wait for switch to bound to a light:
136136
while (!zbSwitch.bound()) {

libraries/Zigbee/examples/Zigbee_Temp_Hum_Sensor_Sleepy/Zigbee_Temp_Hum_Sensor_Sleepy.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void setup() {
9999
zigbeeConfig.nwk_cfg.zed_cfg.keep_alive = 10000;
100100

101101
// When all EPs are registered, start Zigbee in End Device mode
102-
if (!Zigbee.begin(&zigbeeConfig, false)){
102+
if (!Zigbee.begin(&zigbeeConfig, false)) {
103103
Serial.println("Zigbee failed to start!");
104104
Serial.println("Rebooting...");
105105
ESP.restart();

libraries/Zigbee/src/ZigbeeCore.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "ZigbeeHandlers.cpp"
77
#include "Arduino.h"
88

9-
#define ZB_INIT_TIMEOUT 10000 // 10 seconds
9+
#define ZB_INIT_TIMEOUT 10000 // 10 seconds
1010

1111
extern "C" void zb_set_ed_node_descriptor(bool power_src, bool rx_on_when_idle, bool alloc_addr);
1212
static bool edBatteryPowered = false;
@@ -70,7 +70,7 @@ bool ZigbeeCore::begin(zigbee_role_t role, bool erase_nvs) {
7070
}
7171
default: log_e("Invalid Zigbee Role"); return false;
7272
}
73-
if(!status || xSemaphoreTake(lock, ZB_INIT_TIMEOUT) != pdTRUE) {
73+
if (!status || xSemaphoreTake(lock, ZB_INIT_TIMEOUT) != pdTRUE) {
7474
log_e("ZigbeeCore begin failed or timeout");
7575
}
7676
return started();
@@ -232,7 +232,6 @@ void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct) {
232232
} else {
233233
Zigbee._connected = true;
234234
}
235-
236235
}
237236
} else {
238237
/* commissioning failed */

0 commit comments

Comments
 (0)