HAL/LL: Generic EXTI & trainer driver
Changes: - generic EXTI driver - generic trainer driver - relocated rotary encoder timer (simple 100us delay) from TIM4 to TIM12 - taranis & horus use now TIM4 for trainer pulses - serial driver handles periph clocks for UARTs TODO: - SBUS on heartbeat pin (USART or soft-serial)
This commit is contained in:
committed by
Raphael Coeffic
parent
d4cd3d0ddf
commit
042d5091f2
@@ -2076,12 +2076,6 @@ uint32_t pwrCheck()
|
||||
return e_power_usb;
|
||||
}
|
||||
|
||||
#if defined(TRAINER_PWR)
|
||||
if (TRAINER_CONNECTED()) {
|
||||
return e_power_trainer;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!g_eeGeneral.disableRssiPoweroffAlarm) {
|
||||
if (TELEMETRY_STREAMING()) {
|
||||
RAISE_ALERT(STR_MODEL, STR_MODEL_STILL_POWERED, STR_PRESS_ENTER_TO_CONFIRM, AU_MODEL_STILL_POWERED);
|
||||
|
||||
Reference in New Issue
Block a user