mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-09 08:30:36 +08:00
px4io: hardcode number of control groups in "px4io status"
This commit is contained in:
@@ -1921,7 +1921,7 @@ PX4IO::print_status()
|
||||
io_reg_get(PX4IO_PAGE_SETUP, PX4IO_P_SETUP_PWM_ALTRATE));
|
||||
#endif
|
||||
printf("debuglevel %u\n", io_reg_get(PX4IO_PAGE_SETUP, PX4IO_P_SETUP_SET_DEBUG));
|
||||
for (unsigned group = 0; group < PX4IO_CONTROL_GROUPS; group++) {
|
||||
for (unsigned group = 0; group < 4; group++) {
|
||||
printf("controls %u:", group);
|
||||
|
||||
for (unsigned i = 0; i < _max_controls; i++)
|
||||
|
||||
Reference in New Issue
Block a user