Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration.

This commit is contained in:
px4dev
2012-10-31 00:37:15 -07:00
parent b685d46dbf
commit 34a3b260f3
22 changed files with 191 additions and 668 deletions
+2 -2
View File
@@ -61,7 +61,7 @@
#include <sys/prctl.h>
#include <v1.0/common/mavlink.h>
#include <string.h>
#include <arch/board/drv_led.h>
#include <drivers/drv_led.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_tone_alarm.h>
@@ -194,7 +194,7 @@ static void buzzer_deinit()
static int led_init()
{
leds = open("/dev/led", O_RDONLY | O_NONBLOCK);
leds = open(LED_DEVICE_PATH, 0);
if (leds < 0) {
fprintf(stderr, "[commander] LED: open fail\n");