mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
make device paths not board specific
This commit is contained in:
committed by
Lorenz Meier
parent
5d263776f2
commit
955f2d7701
@@ -42,6 +42,12 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
/**
|
||||
* Device paths for devices that support the GPIO ioctl protocol.
|
||||
*/
|
||||
#define PX4FMU_DEVICE_PATH "/dev/px4fmu"
|
||||
#define PX4IO_DEVICE_PATH "/dev/px4io"
|
||||
|
||||
#ifdef CONFIG_ARCH_BOARD_AUAV_X21
|
||||
/*
|
||||
* PX4FMUv2 GPIO numbers.
|
||||
|
||||
Reference in New Issue
Block a user