mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Bridge: updated startup procedure
This commit is contained in:
@ -38,12 +38,13 @@ void BridgeClass::begin() {
|
|||||||
// Bridge startup:
|
// Bridge startup:
|
||||||
// - If the bridge is not running starts it safely
|
// - If the bridge is not running starts it safely
|
||||||
print(CTRL_C);
|
print(CTRL_C);
|
||||||
|
delay(250);
|
||||||
print(F("\n"));
|
print(F("\n"));
|
||||||
delay(500);
|
delay(1000);
|
||||||
// Wait for OpenWRT message
|
// Wait for OpenWRT message
|
||||||
// "Press enter to activate console"
|
// "Press enter to activate console"
|
||||||
print(F("run-bridge\n"));
|
print(F("run-bridge\n"));
|
||||||
delay(1000);
|
delay(500);
|
||||||
dropAll();
|
dropAll();
|
||||||
|
|
||||||
// - If the bridge was already running previous commands
|
// - If the bridge was already running previous commands
|
||||||
|
Reference in New Issue
Block a user