px4iofirmware: fix for bug introduced with #19558

This commit is contained in:
Igor Misic authored and Daniel Agar committed 2022-05-23 14:59:11 -04:00
1 parent d25a784a3a
commit 79a34b5aed
13 files changed
+1 -1

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -413,7 +413,7 @@ registers_set_one(uint8_t page, uint8_t offset, uint16_t value)
break;
case PX4IO_P_SETUP_REBOOT_BL:
if (r_status_flags & PX4IO_P_STATUS_FLAGS_OUTPUTS_ARMED) {
if (!(r_status_flags & PX4IO_P_STATUS_FLAGS_OUTPUTS_ARMED)) {
// don't allow reboot while armed
break;
}