Skip to content
Snippets Groups Projects
Commit 876ab45b authored by Mark Whitehorn's avatar Mark Whitehorn Committed by Lorenz Meier
Browse files

fix errors in crazyflie and navio builds

parent d4c707e6
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@
#define PWM_HIGHEST_MAX 255
#define PWM_DEFAULT_MAX 255
#define PWM_LOWEST_MAX 255
#define PWM_DEFAULT_TRIM 1500
/* High-resolution timer */
......
......@@ -352,6 +352,7 @@ void task_main(int argc, char *argv[])
uint16_t disarmed_pwm[4];
uint16_t min_pwm[4];
uint16_t max_pwm[4];
uint16_t trim_pwm[4] {};
for (unsigned int i = 0; i < 4; i++) {
disarmed_pwm[i] = _pwm_disarmed;
......@@ -369,6 +370,7 @@ void task_main(int argc, char *argv[])
disarmed_pwm,
min_pwm,
max_pwm,
trim_pwm,
_outputs.output,
pwm,
&_pwm_limit);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment