Browse Source

CubeOrange and CubeYellow IMU heating fix

sbg
Mirko Denecke 4 years ago committed by Daniel Agar
parent
commit
5ebc4d31da
  1. 2
      src/modules/px4iofirmware/px4io.h

2
src/modules/px4iofirmware/px4io.h

@ -160,7 +160,7 @@ extern output_limit_t pwm_limit;
* GPIO handling. * GPIO handling.
*/ */
/* HEX Cube Orange and Cube Yellow uses an inverted signal to control the IMU heater */ /* HEX Cube Orange and Cube Yellow uses an inverted signal to control the IMU heater */
#ifdef CONFIG_ARCH_BOARD_HEX_IO_V2 #ifdef CONFIG_ARCH_BOARD_CUBEPILOT_IO_V2
#define LED_BLUE(_s) px4_arch_gpiowrite(GPIO_LED1, (_s)) #define LED_BLUE(_s) px4_arch_gpiowrite(GPIO_LED1, (_s))
#else #else
#define LED_BLUE(_s) px4_arch_gpiowrite(GPIO_LED1, !(_s)) #define LED_BLUE(_s) px4_arch_gpiowrite(GPIO_LED1, !(_s))

Loading…
Cancel
Save