Skip to content
Snippets Groups Projects
Commit 9468e777 authored by Lucas De Marchi's avatar Lucas De Marchi Committed by Lorenz Meier
Browse files

aerofc: use same macro name as px4fmu boards

parent eaa2cf7d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment