We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18fcf8 commit f454535Copy full SHA for f454535
src/provisioning/tinyusb/Wippersnapper_FS.cpp
@@ -125,7 +125,15 @@ Wippersnapper_FS::Wippersnapper_FS() {
125
126
// If we created a new filesystem, halt until user RESETs device.
127
if (_freshFS)
128
- fsHalt("New filesystem created! Press the reset button on your board."); // TODO: just reset here after printing message then a delay/countdown.
+ {
129
+ WS_DEBUG_PRINTLN("New filesystem created! Resetting the board shortly...");
130
+ WS_PRINTER.flush();
131
+ WS.enableWDT(500);
132
+ while (1)
133
134
+ delay(1000);
135
+ }
136
137
}
138
139
/************************************************************/
0 commit comments