mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-12 23:42:23 +08:00
e3dd050c91
The bootloader can often get stuck parsing random MAVLink traffic, thinking it had seen a GET_SYNC. Therefore, this commits adds a two step check which requires a GET_SYNC followed by a GET_DEVICE to make sure it's really an uploader script talking to it, and not just random data.