diff options
author | px4dev <px4@purgatory.org> | 2013-04-01 01:23:05 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-04-01 01:23:05 -0700 |
commit | f243f6ef66cb17882a0ee8645a8a7c639272c753 (patch) | |
tree | bbd992b8e88253288352408221580b8894b9566e /apps/drivers/drv_gpio.h | |
parent | f82af140aea5ea9365cf383e0102056019c99fec (diff) | |
download | px4-firmware-f243f6ef66cb17882a0ee8645a8a7c639272c753.tar.gz px4-firmware-f243f6ef66cb17882a0ee8645a8a7c639272c753.tar.bz2 px4-firmware-f243f6ef66cb17882a0ee8645a8a7c639272c753.zip |
Scratch in a mostly-building board config for fmuv2
Diffstat (limited to 'apps/drivers/drv_gpio.h')
-rw-r--r-- | apps/drivers/drv_gpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/drivers/drv_gpio.h b/apps/drivers/drv_gpio.h index 92d184326..2fa6d8b8e 100644 --- a/apps/drivers/drv_gpio.h +++ b/apps/drivers/drv_gpio.h @@ -42,6 +42,11 @@ #include <sys/ioctl.h> +#ifdef CONFIG_ARCH_BOARD_PX4FMUV2 +#warning No GPIOs on this board. +#define GPIO_DEVICE_PATH "/dev/null" +#endif + #ifdef CONFIG_ARCH_BOARD_PX4FMU /* * PX4FMU GPIO numbers. |