mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 02:13:33 +08:00
Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#define LED_BASE_DEVICE_PATH "/dev/led"
|
||||
#define LED0_DEVICE_PATH "/dev/led0"
|
||||
|
||||
#define _LED_BASE 0x2800
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#define RGBLED_BASE_DEVICE_PATH "/dev/rgbled"
|
||||
|
||||
/* more devices will be 1, 2, etc */
|
||||
#define RGBLED0_DEVICE_PATH "/dev/rgbled0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user