diff options
author | px4dev <px4@purgatory.org> | 2012-10-31 00:37:15 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-31 00:37:15 -0700 |
commit | 34a3b260f34398994a315388b3ffed22a1fe22fb (patch) | |
tree | cbea6c3fff4e2701921827b122df9d348c38ac1c /apps/px4 | |
parent | b685d46dbfc583a26a92f1466dca64f9d45c3c4e (diff) | |
download | px4-firmware-34a3b260f34398994a315388b3ffed22a1fe22fb.tar.gz px4-firmware-34a3b260f34398994a315388b3ffed22a1fe22fb.tar.bz2 px4-firmware-34a3b260f34398994a315388b3ffed22a1fe22fb.zip |
Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration.
Diffstat (limited to 'apps/px4')
-rw-r--r-- | apps/px4/tests/test_float.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_int.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_led.c | 4 | ||||
-rw-r--r-- | apps/px4/tests/test_sleep.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_uart_baudchange.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_uart_console.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_uart_loopback.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/test_uart_send.c | 2 | ||||
-rw-r--r-- | apps/px4/tests/tests.h | 1 |
9 files changed, 2 insertions, 17 deletions
diff --git a/apps/px4/tests/test_float.c b/apps/px4/tests/test_float.c index 8c70b720b..4921c9bbb 100644 --- a/apps/px4/tests/test_float.c +++ b/apps/px4/tests/test_float.c @@ -45,8 +45,6 @@ #include <fcntl.h> #include <errno.h> #include <debug.h> -#include <arch/board/board.h> -#include <arch/board/drv_led.h> #include "tests.h" #include <math.h> #include <float.h> diff --git a/apps/px4/tests/test_int.c b/apps/px4/tests/test_int.c index 40e030641..c59cee7b7 100644 --- a/apps/px4/tests/test_int.c +++ b/apps/px4/tests/test_int.c @@ -49,8 +49,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" #include <math.h> diff --git a/apps/px4/tests/test_led.c b/apps/px4/tests/test_led.c index 53615ccd8..6e3efc668 100644 --- a/apps/px4/tests/test_led.c +++ b/apps/px4/tests/test_led.c @@ -49,7 +49,7 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> +#include <drivers/drv_led.h> #include "tests.h" @@ -91,7 +91,7 @@ int test_led(int argc, char *argv[]) int fd; int ret = 0; - fd = open("/dev/led", O_RDONLY | O_NONBLOCK); + fd = open(LED_DEVICE_PATH, 0); if (fd < 0) { printf("\tLED: open fail\n"); diff --git a/apps/px4/tests/test_sleep.c b/apps/px4/tests/test_sleep.c index 911a9c2e1..c7b9d2833 100644 --- a/apps/px4/tests/test_sleep.c +++ b/apps/px4/tests/test_sleep.c @@ -49,8 +49,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" /**************************************************************************** diff --git a/apps/px4/tests/test_uart_baudchange.c b/apps/px4/tests/test_uart_baudchange.c index 06965bd3d..609a65c62 100644 --- a/apps/px4/tests/test_uart_baudchange.c +++ b/apps/px4/tests/test_uart_baudchange.c @@ -52,8 +52,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" #include <math.h> diff --git a/apps/px4/tests/test_uart_console.c b/apps/px4/tests/test_uart_console.c index fc5b03036..f8582b52f 100644 --- a/apps/px4/tests/test_uart_console.c +++ b/apps/px4/tests/test_uart_console.c @@ -50,8 +50,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" #include <math.h> diff --git a/apps/px4/tests/test_uart_loopback.c b/apps/px4/tests/test_uart_loopback.c index b2e07df1c..3be152004 100644 --- a/apps/px4/tests/test_uart_loopback.c +++ b/apps/px4/tests/test_uart_loopback.c @@ -50,8 +50,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" #include <math.h> diff --git a/apps/px4/tests/test_uart_send.c b/apps/px4/tests/test_uart_send.c index f5c26e9f3..7e1e8d307 100644 --- a/apps/px4/tests/test_uart_send.c +++ b/apps/px4/tests/test_uart_send.c @@ -50,8 +50,6 @@ #include <arch/board/board.h> -#include <arch/board/drv_led.h> - #include "tests.h" #include <math.h> diff --git a/apps/px4/tests/tests.h b/apps/px4/tests/tests.h index 1023f5f51..46450d10b 100644 --- a/apps/px4/tests/tests.h +++ b/apps/px4/tests/tests.h @@ -84,7 +84,6 @@ extern int test_led(int argc, char *argv[]); extern int test_adc(int argc, char *argv[]); extern int test_int(int argc, char *argv[]); extern int test_float(int argc, char *argv[]); -extern int test_eeproms(int argc, char *argv[]); extern int test_ppm(int argc, char *argv[]); extern int test_servo(int argc, char *argv[]); extern int test_uart_loopback(int argc, char *argv[]); |