[X9E/X7D] Rotary encoder navigation speed implemented (#3724)

This commit is contained in:
Bertrand Songis
2016-08-27 18:19:44 +02:00
committed by Andre Bernet
parent 3cb64d984a
commit 1d735f2bd3
114 changed files with 785 additions and 865 deletions
+2 -3
View File
@@ -93,13 +93,12 @@ void interrupt5ms()
HAPTIC_HEARTBEAT();
#endif
if ( ++pre_scale >= 2 ) {
if (++pre_scale >= 2) {
pre_scale = 0 ;
per10ms();
}
#if defined(PCBX9E) || defined(PCBX7D)
// TODO define ROTARY_ENCODER
#if defined(ROTARY_ENCODER_NAVIGATION)
checkRotaryEncoder();
#endif
}