From 5ebc4d31daf8851920377cf4a6466d906a087a09 Mon Sep 17 00:00:00 2001 From: Mirko Denecke Date: Tue, 15 Sep 2020 13:50:13 +0200 Subject: [PATCH] CubeOrange and CubeYellow IMU heating fix --- src/modules/px4iofirmware/px4io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/px4iofirmware/px4io.h b/src/modules/px4iofirmware/px4io.h index 3d0a1d5452..40d6c2a7f7 100644 --- a/src/modules/px4iofirmware/px4io.h +++ b/src/modules/px4iofirmware/px4io.h @@ -160,7 +160,7 @@ extern output_limit_t pwm_limit; * GPIO handling. */ /* 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)) #else #define LED_BLUE(_s) px4_arch_gpiowrite(GPIO_LED1, !(_s))