diff --git a/sw/airborne/booz/actuators/booz_actuators_asctec.h b/sw/airborne/booz/actuators/booz_actuators_asctec.h index c4de69b4c4..f5b5300449 100644 --- a/sw/airborne/booz/actuators/booz_actuators_asctec.h +++ b/sw/airborne/booz/actuators/booz_actuators_asctec.h @@ -53,5 +53,13 @@ struct ActuatorsAsctec { extern struct ActuatorsAsctec actuators_asctec; +#define booz_actuators_asctec_SetCommand(_v) { \ + actuators_asctec.cmd = _v; \ +} + +#define booz_actuators_asctec_SetAddr(_v) { \ + actuators_asctec.new_addr = _v; \ +} + #endif /* BOOZ_ACTUATORS_ASCTEC_H */