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-15 18:53:59 -07:00
parent 88dc6ec1e5
commit bba26c3430
20 changed files with 1471 additions and 14 deletions
+3 -2
View File
@@ -41,6 +41,7 @@
*
*/
#include <px4_defines.h>
#include <stdio.h>
#include <unistd.h>
#include <stdint.h>
@@ -110,7 +111,7 @@ int battery_init()
bat_capacity_h = param_find("BAT_CAPACITY");
bat_v_load_drop_h = param_find("BAT_V_LOAD_DROP");
return OK;
return PX4_OK;
}
int buzzer_init()
@@ -130,7 +131,7 @@ int buzzer_init()
return ERROR;
}
return OK;
return PX4_OK;
}
void buzzer_deinit()