feat: Further improve rotary encoder acceleration (#2584)

* Improve rotary encoder acceleration

Fixes #2417

* Further improvement

* Fix simu compilation
This commit is contained in:
Raphael Coeffic
2022-10-19 20:36:29 +10:00
committed by GitHub
parent c8d6a50685
commit ba713b6b8d
9 changed files with 98 additions and 56 deletions
+1
View File
@@ -49,6 +49,7 @@ uint32_t telemetryErrors = 0;
typedef int32_t rotenc_t;
volatile rotenc_t rotencValue = 0;
volatile uint32_t rotencDt = 0;
// TODO: remove all STM32 defs
GPIO_TypeDef gpioa, gpiob, gpioc, gpiod, gpioe, gpiof, gpiog, gpioh, gpioi, gpioj;