heater: added support of inverted IMU heat controller output

This commit is contained in:
Kirill Shilov
2021-07-09 12:45:51 +01:00
committed by Daniel Agar
parent 205d4400eb
commit e13884410b
12 changed files with 14 additions and 2 deletions
@@ -215,6 +215,7 @@
*/
#define HEATER_IOMUX (IOMUX_CMOS_OUTPUT | IOMUX_PULL_NONE | IOMUX_DRIVE_50OHM | IOMUX_SPEED_MEDIUM | IOMUX_SLEW_FAST)
#define GPIO_HEATER_OUTPUT /* GPIO_B1_09 QTIMER2_TIMER3 GPIO2_IO25 */ (GPIO_QTIMER2_TIMER3_1 | HEATER_IOMUX)
#define HEATER_OUTPUT_EN(on_true) px4_arch_gpiowrite(GPIO_HEATER_OUTPUT, (on_true))
/* PWM Capture
*