iov2 pin definition cleanup sweep

This commit is contained in:
px4dev
2013-07-04 23:16:13 -07:00
parent f7963a8c84
commit c21237667b
5 changed files with 19 additions and 29 deletions
+3 -1
View File
@@ -128,7 +128,9 @@ extern struct sys_state_s system_state;
#define LED_AMBER(_s) stm32_gpiowrite(GPIO_LED2, !(_s))
#define LED_SAFETY(_s) stm32_gpiowrite(GPIO_LED3, !(_s))
#define POWER_SERVO(_s) stm32_gpiowrite(GPIO_SERVO_PWR_EN, (_s))
#ifdef GPIO_SERVO_PWR_EN
# define POWER_SERVO(_s) stm32_gpiowrite(GPIO_SERVO_PWR_EN, (_s))
#endif
#ifdef GPIO_ACC1_PWR_EN
# define POWER_ACC1(_s) stm32_gpiowrite(GPIO_ACC1_PWR_EN, (_s))
#endif