Skip to content

Commit 2f2ddc9

Browse files
committed
fw updater: issue GO command after flash
1 parent 7fd5b82 commit 2f2ddc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/FirmwareUpdater/FirmwareUpdater.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ bool flash(const uint8_t* binary, size_t lenght, bool verbose) {
115115
}
116116
delay(10);
117117
}
118+
SerialDebug.println("GO");
119+
uint8_t jump_buf[5] = { 0x8, 0x00, 0x00, 0x00, 0x8 };
120+
resp = command(0x21, jump_buf, 5, nullptr, 0, verbose);
118121
return true;
119122
}
120123

0 commit comments

Comments
 (0)