Linux: enabled commander module

The commander module now compiles for Linux.

state_machine_helper_linux.cpp iterates over the virtual devices vs
all devices under /dev as per NuttX when disabling publishing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 11:37:50 -07:00
parent 88dc6ec1e5
commit bba26c3430
20 changed files with 1471 additions and 14 deletions
+3 -3
View File
@@ -52,9 +52,9 @@
#define LED_BLUE 0
#define LED_SAFETY 2
#define LED_ON _IOC(_LED_BASE, 0)
#define LED_OFF _IOC(_LED_BASE, 1)
#define LED_TOGGLE _IOC(_LED_BASE, 2)
#define LED_ON _PX4_IOC(_LED_BASE, 0)
#define LED_OFF _PX4_IOC(_LED_BASE, 1)
#define LED_TOGGLE _PX4_IOC(_LED_BASE, 2)
__BEGIN_DECLS