Skip to content

Commit

Permalink
[asctec_v2] Compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Mar 5, 2013
1 parent 5171ca2 commit 4733bc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/actuators/actuators_asctec_v2.c
Expand Up @@ -45,7 +45,7 @@ void actuators_asctec_v2_init(void) {
}


void actuators_asctec_v2_set(bool_t motors_on) {
void actuators_asctec_v2_set(void) {
#if defined ACTUATORS_START_DELAY && ! defined SITL
if (!actuators_delay_done) {
if (SysTimeTimer(actuators_delay_time) < USEC_OF_SEC(ACTUATORS_START_DELAY)) {
Expand Down
4 changes: 2 additions & 2 deletions sw/airborne/subsystems/actuators/actuators_asctec_v2.h
Expand Up @@ -65,11 +65,11 @@ extern struct ActuatorsAsctecV2 actuators_asctec_v2;
}

extern void actuators_asctec_v2_init(void);
extern void actuators_asctec_v2_set(bool_t motors_on);
extern void actuators_asctec_v2_set(void);

#define ActuatorAsctec_v2Set(_i, _v) { actuators_asctec_v2.cmds[_i] = _v; }
#define ActuatorsAsctec_v2Init() actuators_asctec_v2_init()
#define ActuatorsAsctec_v2Commit() actuators_asctec_v2_set(autopilot_motors_on)
#define ActuatorsAsctec_v2Commit() actuators_asctec_v2_set()


#endif /* ACTUATORS_ASCTEC_H */

0 comments on commit 4733bc4

Please sign in to comment.