mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
&& -> &
This commit is contained in:
parent
e818bcbfc2
commit
776cf6093c
@ -1218,7 +1218,7 @@ PX4IO::print_status()
|
||||
uint16_t mapped_inputs = io_reg_get(PX4IO_PAGE_RC_INPUT, PX4IO_P_RC_VALID);
|
||||
printf("mapped R/C inputs 0x%04x", mapped_inputs);
|
||||
for (unsigned i = 0; i < _max_rc_input; i++) {
|
||||
if (mapped_inputs && (1 << i))
|
||||
if (mapped_inputs & (1 << i))
|
||||
printf(" %u:%u", i, io_reg_get(PX4IO_PAGE_RC_INPUT, PX4IO_P_RC_BASE + i));
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user