pushEvent insteado of putEvent

This commit is contained in:
Bertrand Songis
2021-03-12 11:07:31 +01:00
parent 59cef7ebc7
commit 889f645c1a
11 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ void per10ms()
bool new_cw = (scrollRE < 0) ? false : true;
if ((g_tmr10ms - lastEvent >= 10) || (cw == new_cw)) { // 100ms
putEvent(new_cw ? EVT_ROTARY_RIGHT : EVT_ROTARY_LEFT);
pushEvent(new_cw ? EVT_ROTARY_RIGHT : EVT_ROTARY_LEFT);
// rotary encoder navigation speed (acceleration) detection/calculation
static uint32_t delay = 2*ROTENC_DELAY_MIDSPEED;