1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

timerHardware removal - all targets use fullTimerHardware now. (#12349)

* Removing last items associated with old timerHardware

* target.c rename, to identify purpose (should probably move to drivers/sitl or similar)

* Removing timerHardware dependency from timerup.c
This commit is contained in:
J Blackman 2023-02-15 02:47:44 +11:00 committed by GitHub
parent 69c779c0f7
commit 2dbbd1882c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 8 additions and 247 deletions

View file

@ -27,11 +27,12 @@
#include "drivers/io.h"
#include "drivers/timer.h" // For HARDWARE_TIMER_DEFINITION_COUNT
#ifdef USE_TIMER_MGMT
#if defined(USE_TIMER_MGMT) && defined(USE_TIMER_UP_CONFIG)
typedef struct timerUpConfig_s {
int8_t dmaopt;
} timerUpConfig_t;
PG_DECLARE_ARRAY(timerUpConfig_t, HARDWARE_TIMER_DEFINITION_COUNT, timerUpConfig);
#endif