Skip to content

Commit 283c6de

Browse files
committed
Changed the update script
The script now wait for the user to open serial port enforcing the fact that the user see the update message and acknowledge the FW update.
1 parent 3e3f4db commit 283c6de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/updateExpansionFw/updateExpansionFw.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ void updateTask() {
220220
void setup() {
221221
/* -------------------------------------------------------------------------- */
222222
Serial.begin(115200);
223-
delay(2000);
223+
while(!Serial) {
224+
}
224225

225226
Serial.println("\n**** OPTA Expansions Updater sketch ****\n");
226227

0 commit comments

Comments
 (0)