Skip to content

Commit

Permalink
[modules] actuators for more targets
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jan 24, 2017
1 parent 748ea3a commit 65b056f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/modules/actuators_ppm.xml
Expand Up @@ -14,7 +14,7 @@
<header>
<file name="actuators_ppm.h" dir="subsystems/actuators"/>
</header>
<makefile>
<makefile target="!sim|nps">
<define name="ACTUATORS"/>
<define name="SERVOS_PPM_MAT"/>
<file_arch name="actuators_ppm_hw.c" dir="subsystems/actuators"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/actuators_pwm.xml
Expand Up @@ -9,7 +9,7 @@
<header>
<file name="actuators_pwm.h" dir="subsystems/actuators"/>
</header>
<makefile>
<makefile target="!sim|nps">
<define name="ACTUATORS"/>
<file_arch name="actuators_pwm_arch.c" dir="subsystems/actuators"/>
<file_arch name="actuators_shared_arch.c" dir="subsystems/actuators" cond="ifeq ($(ARCH), stm32)"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/actuators_sbus.xml
Expand Up @@ -12,7 +12,7 @@
<header>
<file name="actuators_sbus.h" dir="subsystems/actuators"/>
</header>
<makefile>
<makefile target="!sim|nps">
<configure name="ACTUATORS_SBUS_DEV" default="uart4" case="upper|lower"/>
<define name="ACTUATORS"/>
<define name="ACTUATORS_SBUS_DEV" value="$(ACTUATORS_SBUS_DEV_LOWER)"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/actuators_spektrum.xml
Expand Up @@ -15,7 +15,7 @@
<header>
<file name="actuators_spektrum.h" dir="subsystems/actuators"/>
</header>
<makefile>
<makefile target="!sim|nps">
<configure name="ACTUATORS_SPEKTRUM_DEV" default="uart4" case="upper|lower"/>
<configure name="ACTUATORS_SPEKTRUM_DEV2" case="upper|lower"/>
<define name="ACTUATORS"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/motor_mixing.xml
Expand Up @@ -22,7 +22,7 @@
<header>
<file name="motor_mixing.h" dir="subsystems/actuators"/>
</header>
<makefile>
<makefile target="!sim">
<define name="USE_MOTOR_MIXING"/>
<file name="motor_mixing.c" dir="subsystems/actuators"/>
</makefile>
Expand Down

0 comments on commit 65b056f

Please sign in to comment.