diff --git a/js/stm32.js b/js/stm32.js index 004df70355..3564af3c0c 100644 --- a/js/stm32.js +++ b/js/stm32.js @@ -484,7 +484,7 @@ STM32_protocol.prototype.upload_procedure = function(step) { array_out[array_out.length - 1] = checksum; // checksum (last byte in the array_out array) address += bytes_to_write; - bytes_flashed_total += bytes_to_write + bytes_flashed_total += bytes_to_write; self.send(array_out, 1, function(reply) { if (self.verify_response(self.status.ACK, reply)) {