mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
fix SetServo makro and servo_switch module for sim
This commit is contained in:
@@ -50,4 +50,7 @@ extern uint16_t actuators[SERVOS_NB];
|
||||
|
||||
#endif /* ACTUATORS */
|
||||
|
||||
// define empty SetServo makro for sim
|
||||
#define SetServo(x, v) {}
|
||||
|
||||
#endif /* ACTUATORS_H */
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "servo_switch/servo_switch.h"
|
||||
#include "airframe.h"
|
||||
#include "actuators.h"
|
||||
|
||||
bool_t servo_switch_on;
|
||||
|
||||
Reference in New Issue
Block a user