fixed config-user.h.example for USE_ROTARY_ENCODER define

removed illogical test in comms.c
This commit is contained in:
Peter Edwards
2016-01-10 15:16:41 +02:00
parent 8408b51e08
commit 8f8f26b182
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void input_callback()
unsigned char i;
// key changed ?
#if defined(KEYS_INPUT_PULLUP) || defined(USE_ROTARY_ENCODER)
#ifdef KEYS_INPUT_PULLUP
i = key_state ^ ~KEYS_READ_PINS; // HW V2.0 for internal pullup the read is inverted
#else
i = key_state ^ KEYS_READ_PINS; // HW V1.0 normal read
+1 -1
View File
@@ -30,4 +30,4 @@
// uncomment this to use a rotary encoder
// USE_ROTARY_ENCODER
// #define USE_ROTARY_ENCODER