1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

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.
This commit is contained in:
Dominic Clifton 2023-08-08 00:49:48 +02:00 committed by GitHub
parent 0eac4df5a4
commit 199c0ec99d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 56 additions and 93 deletions

View file

@ -855,12 +855,6 @@ void init(void)
#endif // VTX_CONTROL
#ifdef USE_TIMER
// start all timers
// TODO - not implemented yet
timerStart();
#endif
batteryInit(); // always needs doing, regardless of features.
#ifdef USE_RCDEVICE