mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:43:34 +08:00
heater: added support of inverted IMU heat controller output
This commit is contained in:
committed by
Daniel Agar
parent
205d4400eb
commit
e13884410b
@@ -136,7 +136,7 @@ void Heater::heater_off()
|
||||
#endif
|
||||
|
||||
#ifdef HEATER_GPIO
|
||||
px4_arch_gpiowrite(GPIO_HEATER_OUTPUT, 0);
|
||||
HEATER_OUTPUT_EN(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ void Heater::heater_on()
|
||||
#endif
|
||||
|
||||
#ifdef HEATER_GPIO
|
||||
px4_arch_gpiowrite(GPIO_HEATER_OUTPUT, 1);
|
||||
HEATER_OUTPUT_EN(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user