39 #include <px4_platform_common/time.h> 40 #include <px4_platform_common/px4_config.h> 41 #include <px4_platform_common/posix.h> 43 #include <sys/types.h> 51 #include <arch/board/board.h> 66 printf(
"\tLED: open fail\n");
73 printf(
"\tLED: ioctl fail\n");
82 for (i = 0; i < 10; i++) {
100 printf(
"\t LED test completed, no errors.\n");
LED driver API to control the onboard LED(s) via ioctl() interface.
int test_led(int argc, char *argv[])