forked from Archive/PX4-Autopilot
PX Uploader: Disable windowed mode
The windowed mode has been added for Windows targets originally. It gets very often incorrectly detected and slows down flashing considerably. This even applies to serial links. We are disabling it now in most circumstances.
This commit is contained in:
parent
95dd2f7e8d
commit
00e6d11dfa
|
@ -344,8 +344,9 @@ class uploader(object):
|
|||
try:
|
||||
self.__getSync(False)
|
||||
except:
|
||||
# if it fails we are on a real Serial Port
|
||||
self.ackWindowedMode = True
|
||||
# if it fails we are on a real serial port - only leave this enabled on Windows
|
||||
if _platform.system() == 'Windows':
|
||||
self.ackWindowedMode = True
|
||||
|
||||
self.port.baudrate = self.baudrate_bootloader
|
||||
|
||||
|
|
Loading…
Reference in New Issue