aerofc: use same macro name as px4fmu boards

This commit is contained in:
Lucas De Marchi 2016-12-09 16:32:19 -08:00 committed by Lorenz Meier
parent eaa2cf7d99
commit 9468e7779a
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ __END_DECLS
__EXPORT void stm32_boardinitialize(void)
{
/* turn sensors on */
stm32_configgpio(GPIO_SENSORS_POWER);
stm32_configgpio(GPIO_VDD_5V_SENSORS_EN);
/* configure SPI interfaces */
stm32_spiinitialize();

View File

@ -65,7 +65,7 @@
#define GPIO_LED1 (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTE|GPIO_PIN12)
#define GPIO_LED2 (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTE|GPIO_PIN10)
#define GPIO_SENSORS_POWER (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN13)
#define GPIO_VDD_5V_SENSORS_EN (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN13)
/*
* I2C busses