mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
pwm : fix code style
This commit is contained in:
committed by
Lorenz Meier
parent
f915896413
commit
d50a0c4323
@@ -928,10 +928,11 @@ pwm_main(int argc, char *argv[])
|
||||
if (group_mask != 0) {
|
||||
printf("channel group %u: channels", i);
|
||||
|
||||
for (unsigned j = 0; j < 32; j++)
|
||||
for (unsigned j = 0; j < 32; j++) {
|
||||
if (group_mask & (1 << j)) {
|
||||
printf(" %u", j + 1);
|
||||
}
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user