forked from Archive/PX4-Autopilot
px_uploader add small delay before checking CRC result
This commit is contained in:
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:
|
||||
|
|
Loading…
Reference in New Issue