ArduPilot / SiK

Tools and firmware for the Si1000
BSD 2-Clause "Simplified" License
286 stars 232 forks source link

atcommander: force out of bootload mode, Python3 compatible #22

Open mikeclement opened 10 years ago

mikeclement commented 10 years ago

The radio occasionally gets stuck in bootloader mode. This patch replicates a solution from ardupilot (libraries/GCS_MAVLink/GCS_Common.cpp) to unstick the radio. The solution is incorporated into the --force option, making it more assertive than before.

This patch also slightly adjusts some of the radio response timeouts to make the code more responsive overall.

Finally, Michael Day added Python3 compatibility.