mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
32f2120ec6de33a277c1084f08cf47871fd85a82
When the firmware blob is exactly a multiple of 10 times the packet size, the last checksum request causes the reply to the last program request to be missed (there is only a response from the hub to the very last program request). The program response is received, then the checksum response is received. Since the saga is waiting for the checksum response first, the program response is discarded. Fix by breaking out of the loop when the firmware has been fully transferred before making the checksum request. Fixes: pybricks/support#178
pybricks-code
A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.
Try it at https://code.pybricks.com.
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project
Languages
TypeScript
90%
JavaScript
7.6%
SCSS
2.1%
HTML
0.2%
Python
0.1%
