diff options
Diffstat (limited to 'apps/px4/tests/test_led.c')
-rw-r--r-- | apps/px4/tests/test_led.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |