Fix escserial for HAL targets. (#12992)
commit199c0ec99decd33b8f6b083c70a63b73f978b3a8
authorDominic Clifton <dominic.clifton@cleanflight.com>
Mon, 7 Aug 2023 22:49:48 +0000 (8 00:49 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Aug 2023 22:49:48 +0000 (8 08:49 +1000)
treebe96b37e9506813d5d294e753fa4adcd703b8068
parent0eac4df5a42d0dd1bea39292549f684bda71c87c
Fix escserial for HAL targets. (#12992)

* Fix escserial for HAL targets.

* Remove the code disabling ESCSERIAL for F7.

* Timer/StdPeriph - Add an implementation of 'timerReconfigureTimebase'.

Simply calls the `configTimeBase`, seemed cleaner than adding #ifdef USE_HAL_DRIVER everywhere instead.
src/main/drivers/at32/timer_at32bsp.c
src/main/drivers/serial_escserial.c
src/main/drivers/stm32/timer_hal.c
src/main/drivers/stm32/timer_stdperiph.c
src/main/drivers/timer.h
src/main/fc/init.c
src/main/target/SITL/sitl.c
src/main/target/STM32F7X2/target.h