mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
px_uploader add small delay before checking CRC result
This commit is contained in:
committed by
Lorenz Meier
parent
8647f0e527
commit
dec03873bc
@@ -455,8 +455,8 @@ class uploader(object):
|
||||
print("\n", end='')
|
||||
self.__drawProgressBar(label, 1, 100)
|
||||
expect_crc = fw.crc(self.fw_maxsize)
|
||||
self.__send(uploader.GET_CRC +
|
||||
uploader.EOC)
|
||||
self.__send(uploader.GET_CRC + uploader.EOC)
|
||||
time.sleep(0.5)
|
||||
report_crc = self.__recv_int()
|
||||
self.__getSync()
|
||||
if report_crc != expect_crc:
|
||||
|
||||
Reference in New Issue
Block a user