forked from Archive/PX4-Autopilot
px4io: print actuator control registers as int16 instead of uint16
This commit is contained in:
parent
149bf4582c
commit
a8ff126dfe
|
@ -1925,7 +1925,7 @@ PX4IO::print_status()
|
|||
printf("controls %u:", group);
|
||||
|
||||
for (unsigned i = 0; i < _max_controls; i++)
|
||||
printf(" %u", io_reg_get(PX4IO_PAGE_CONTROLS, group * PX4IO_PROTOCOL_MAX_CONTROL_COUNT + i));
|
||||
printf(" %d", (int16_t) io_reg_get(PX4IO_PAGE_CONTROLS, group * PX4IO_PROTOCOL_MAX_CONTROL_COUNT + i));
|
||||
|
||||
printf("\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue