Revert "px4iofirmware: fix for bug introduced with #19558"

This reverts commit 79a34b5aed8ee9eb10afda3ae83f1be02ad897a8.
This commit is contained in:
Igor Misic 2022-05-23 17:23:25 +02:00 committed by Daniel Agar
parent c03f5b9481
commit 6aefcbb6cf
13 changed files with 1 additions and 1 deletions

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;
}