PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tests for led functionality. More...
#include <px4_platform_common/time.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/posix.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <arch/board/board.h>
#include <drivers/drv_board_led.h>
#include "tests_main.h"
Go to the source code of this file.
Functions | |
int | test_led (int argc, char *argv[]) |
Tests for led functionality.
Definition in file test_led.c.
int test_led | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 58 of file test_led.c.
References fd, LED0_DEVICE_PATH, LED_AMBER, LED_BLUE, LED_OFF, LED_ON, px4_ioctl(), and px4_open().