Skip to content

Commit

Permalink
Ensure that UAVCAN_ENABLE is always present
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Jan 16, 2016
1 parent 7ea4149 commit 401af28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/sensors/sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ Sensors::Sensors() :
(void)param_find("PWM_AUX_MAX");
(void)param_find("PWM_AUX_DISARMED");
(void)param_find("TRIG_MODE");
(void)param_find("UAVCAN_ENABLE");

/* fetch initial parameter values */
parameters_update();
Expand Down

0 comments on commit 401af28

Please sign in to comment.