diff --git a/sw/airborne/actuators.h b/sw/airborne/actuators.h index b8240210f6..9485d8191a 100644 --- a/sw/airborne/actuators.h +++ b/sw/airborne/actuators.h @@ -48,9 +48,12 @@ extern uint16_t actuators[SERVOS_NB]; actuators[x] = v; \ } -#endif /* ACTUATORS */ +#else /* ACTUATORS */ // define empty SetServo makro for sim #define SetServo(x, v) {} +#endif /* ACTUATORS */ + + #endif /* ACTUATORS_H */