44 #include <sys/ioctl.h> 46 #define LED_BASE_DEVICE_PATH "/dev/led" 47 #define LED0_DEVICE_PATH "/dev/led0" 49 #define _LED_BASE 0x2800 59 #define LED_ON _PX4_IOC(_LED_BASE, 0) 60 #define LED_OFF _PX4_IOC(_LED_BASE, 1) 61 #define LED_TOGGLE _PX4_IOC(_LED_BASE, 2) Generally used magic defines.