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.
interruptUPDATEModule
1 parent bdb533f commit 39d0385Copy full SHA for 39d0385
src/Debug/debugger.cpp
@@ -1096,7 +1096,7 @@ void Debugger::stop() {
1096
1097
bool Debugger::handleUpdateModule(Module *m, uint8_t *data) {
1098
uint8_t *wasm_data = data + 1;
1099
- uint32_t wasm_len = read_B32(&wasm_data);
+ uint32_t wasm_len = read_LEB_32(&wasm_data);
1100
uint8_t *wasm = (uint8_t *)malloc(sizeof(uint8_t) * wasm_len);
1101
memcpy(wasm, wasm_data, wasm_len);
1102
WARDuino *wd = m->warduino;
0 commit comments