1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

[G4] BB-DSHOT support (TIM1/TIM8 limited version)

This commit is contained in:
jflyper 2020-06-06 22:34:12 +09:00
parent de35df8e07
commit 35bad24c55
3 changed files with 65 additions and 8 deletions

View file

@ -80,6 +80,11 @@ typedef struct dmaRegCache_s {
uint32_t NDTR;
uint32_t PAR;
uint32_t M0AR;
#elif defined(STM32G4)
uint32_t CCR;
uint32_t CNDTR;
uint32_t CPAR;
uint32_t CMAR;
#else
#error No MCU dependent code here
#endif