From 3eea221b243c006e91d6e763d7959d60481c4ee2 Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Mon, 18 Mar 2013 23:11:47 +0000 Subject: [PATCH] No rotarySteps on stock --- src/open9x.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/open9x.h b/src/open9x.h index 4af3da2bb..cb2df8157 100644 --- a/src/open9x.h +++ b/src/open9x.h @@ -746,8 +746,10 @@ extern void setTrimValue(uint8_t phase, uint8_t idx, int16_t trim); #if defined(PCBGRUVIN9X) #define ROTARY_ENCODER_GRANULARITY (1) -#else +#elif defined(CPUARM) #define ROTARY_ENCODER_GRANULARITY (2 << g_eeGeneral.rotarySteps) +#else + #define ROTARY_ENCODER_GRANULARITY (2) #endif #if defined(GVARS)