Fixed style issue with Astyle 3.1

This commit is contained in:
Bob-F
2018-08-06 13:32:36 +02:00
committed by Beat Küng
parent 2ece14bad1
commit adf411fdd8
9 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ int BBBlueRcPWMOut::send_output_pwm(const uint16_t *pwm, int num_outputs)
// pwm[ch] is duty_cycle in us
for (int ch = 0; ch < num_outputs; ++ch) {
ret += rc_servo_send_pulse_us(ch+1, pwm[ch]); // converts to 1-based channel #
ret += rc_servo_send_pulse_us(ch + 1, pwm[ch]); // converts to 1-based channel #
}
return ret;
@@ -235,6 +235,7 @@ void task_main(int argc, char *argv[])
pwm_out = new OcpocMmapPWMOut(_max_num_outputs);
#ifdef __DF_BBBLUE
} else if (strcmp(_protocol, "bbblue_rc") == 0) {
PX4_INFO("Starting PWM output in bbblue_rc mode");
pwm_out = new BBBlueRcPWMOut(_max_num_outputs);