mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
update servo_switch module dir and include
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<!DOCTYPE module SYSTEM "module.dtd">
|
<!DOCTYPE module SYSTEM "module.dtd">
|
||||||
|
|
||||||
<module name="servo_switch">
|
<module name="servo_switch" dir="servo_switch">
|
||||||
<header>
|
<header>
|
||||||
<file name="servo_switch.h"/>
|
<file name="servo_switch.h"/>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<settings>
|
<settings>
|
||||||
<dl_settings NAME="Servo switch control">
|
<dl_settings NAME="Servo switch control">
|
||||||
<dl_settings NAME="SWITCH">
|
<dl_settings NAME="SWITCH">
|
||||||
<dl_setting var="servo_switch_on" min="0" step="1" max="1" module="servo_switch" values="Off|On">
|
<dl_setting var="servo_switch_on" min="0" step="1" max="1" module="servo_switch/servo_switch" values="Off|On">
|
||||||
<strip_button name="ON" value="1"/>
|
<strip_button name="ON" value="1"/>
|
||||||
<strip_button name="OFF" value="0"/>
|
<strip_button name="OFF" value="0"/>
|
||||||
</dl_setting>
|
</dl_setting>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "servo_switch.h"
|
#include "servo_switch/servo_switch.h"
|
||||||
#include "inter_mcu.h"
|
#include "inter_mcu.h"
|
||||||
|
|
||||||
bool_t servo_switch_on;
|
bool_t servo_switch_on;
|
||||||
|
|||||||
Reference in New Issue
Block a user