Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 52b3cb7

Browse filesBrowse files
ci(pre-commit): Apply automatic fixes
1 parent 79827b7 commit 52b3cb7
Copy full SHA for 52b3cb7

File tree

3 files changed

+4
-4
lines changed
Filter options

3 files changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: libraries/OpenThread/examples/SimpleThreadNetwork/ExtendedRouterNode/ExtendedRouterNode.ino
+2-2Lines changed: 2 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: libraries/OpenThread/examples/SimpleThreadNetwork/LeaderNode/LeaderNode.ino
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: libraries/OpenThread/examples/SimpleThreadNetwork/RouterNode/RouterNode.ino
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.