Browse Source

FMUv4: Rename Spektrum power correctly

sbg
Lorenz Meier 9 years ago
parent
commit
45e4def3eb
  1. 2
      src/drivers/boards/px4fmu-v4/board_config.h
  2. 2
      src/drivers/boards/px4fmu-v4/px4fmu_init.c

2
src/drivers/boards/px4fmu-v4/board_config.h

@ -65,7 +65,7 @@ __BEGIN_DECLS @@ -65,7 +65,7 @@ __BEGIN_DECLS
//{0, GPIO_PERIPH_3V3_EN, 0}, Owned by the 8266 driver
//{0, GPIO_SBUS_INV, 0}, https://github.com/PX4/Firmware/blob/master/src/modules/px4iofirmware/sbus.c
//{GPIO_8266_GPIO0, 0, 0}, Owned by the 8266 driver
//{0, GPIO_SPEKTRUM_POWER, 0}, Owned Spektum driver input to auto pilot
//{0, GPIO_SPEKTRUM_PWR_EN, 0}, Owned Spektum driver input to auto pilot
//{0, GPIO_8266_PD, 0}, Owned by the 8266 driver
//{0, GPIO_8266_RST, 0}, Owned by the 8266 driver

2
src/drivers/boards/px4fmu-v4/px4fmu_init.c

@ -230,7 +230,7 @@ __EXPORT int nsh_archinitialize(void) @@ -230,7 +230,7 @@ __EXPORT int nsh_archinitialize(void)
stm32_configgpio(GPIO_SBUS_INV);
stm32_configgpio(GPIO_8266_GPIO0);
stm32_configgpio(GPIO_SPEKTRUM_POWER);
stm32_configgpio(GPIO_SPEKTRUM_PWR_EN);
stm32_configgpio(GPIO_8266_PD);
stm32_configgpio(GPIO_8266_RST);

Loading…
Cancel
Save