Skip to content

Commit 52b3cb7

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 79827b7 commit 52b3cb7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

libraries/OpenThread/examples/SimpleThreadNetwork/ExtendedRouterNode/ExtendedRouterNode.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void setup() {
2424
return;
2525
}
2626
// wait for the node to enter in the router state
27-
uint32_t timeout = millis() + 90000; // waits 90 seconds to
27+
uint32_t timeout = millis() + 90000; // waits 90 seconds to
2828
while (otGetDeviceRole() != OT_ROLE_CHILD && otGetDeviceRole() != OT_ROLE_ROUTER) {
2929
Serial.print(".");
3030
if (millis() > timeout) {
@@ -47,7 +47,7 @@ void setup() {
4747
}
4848

4949
// OpenThread API
50-
Serial.printf("PanID[using OT API]: 0x%x\r\n", (uint16_t) otLinkGetPanId(esp_openthread_get_instance()));
50+
Serial.printf("PanID[using OT API]: 0x%x\r\n", (uint16_t)otLinkGetPanId(esp_openthread_get_instance()));
5151
}
5252
Serial.println("\r\n");
5353
}

libraries/OpenThread/examples/SimpleThreadNetwork/LeaderNode/LeaderNode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void loop() {
4040
Serial.println(otGetStringDeviceRole());
4141

4242
// Native OpenThread API calls:
43-
// wait until the node become Child or Router
43+
// wait until the node become Child or Router
4444
if (otGetDeviceRole() == OT_ROLE_LEADER) {
4545
// Network Name
4646
const char *networkName = otThreadGetNetworkName(aInstance);

libraries/OpenThread/examples/SimpleThreadNetwork/RouterNode/RouterNode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void loop() {
4040
Serial.println(otGetStringDeviceRole());
4141

4242
// Native OpenThread API calls:
43-
// wait until the node become Child or Router
43+
// wait until the node become Child or Router
4444
if (otGetDeviceRole() == OT_ROLE_CHILD || otGetDeviceRole() == OT_ROLE_ROUTER) {
4545
// Network Name
4646
const char *networkName = otThreadGetNetworkName(aInstance);

0 commit comments

Comments
 (0)