mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
On a non-secure bootloader the VERIFY_SIG opcode was answered explicitly instead of falling through like an older bootloader without the opcode, which could desync the following BOOT command and fail the upload. Compile the case only when BOOTLOADER_USE_SECURITY is set so non-secure builds reject it via the default unknown-command path. Signed-off-by: Julian Oes <julian@oes.ch>