diff options
author | px4dev <px4@purgatory.org> | 2013-07-14 13:04:44 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-07-14 13:04:44 -0700 |
commit | dca9019f75ddf31a5477db935252eb009a0be655 (patch) | |
tree | 6fd0661f9e2c7035097bf2b044b33e95ae352caf /src/drivers/drv_gpio.h | |
parent | 6cf120831289368015b7b4f51db4f99f418e7129 (diff) | |
parent | 60ce9759d9d5a9b5f2e9fd218852fa595cc7bebd (diff) | |
download | px4-firmware-dca9019f75ddf31a5477db935252eb009a0be655.tar.gz px4-firmware-dca9019f75ddf31a5477db935252eb009a0be655.tar.bz2 px4-firmware-dca9019f75ddf31a5477db935252eb009a0be655.zip |
Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup
Diffstat (limited to 'src/drivers/drv_gpio.h')
-rw-r--r-- | src/drivers/drv_gpio.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/drv_gpio.h b/src/drivers/drv_gpio.h index 5b06f91a8..c7c25048a 100644 --- a/src/drivers/drv_gpio.h +++ b/src/drivers/drv_gpio.h @@ -63,7 +63,8 @@ * they also export GPIO-like things. This is always the GPIOs on the * main board. */ -# define GPIO_DEVICE_PATH "/dev/px4fmu" +# define PX4FMU_DEVICE_PATH "/dev/px4fmu" +# define PX4IO_DEVICE_PATH "/dev/px4io" #endif @@ -92,22 +93,17 @@ * they also export GPIO-like things. This is always the GPIOs on the * main board. */ -# define GPIO_DEVICE_PATH "/dev/px4fmu" +# define PX4FMU_DEVICE_PATH "/dev/px4fmu" +# define PX4IO_DEVICE_PATH "/dev/px4io" #endif #ifdef CONFIG_ARCH_BOARD_PX4IO_V1 /* no GPIO driver on the PX4IOv1 board */ -# define GPIO_DEVICE_PATH "/nonexistent" #endif #ifdef CONFIG_ARCH_BOARD_PX4IO_V2 /* no GPIO driver on the PX4IOv2 board */ -# define GPIO_DEVICE_PATH "/nonexistent" -#endif - -#ifndef GPIO_DEVICE_PATH -# error No GPIO support for this board. #endif /* |