Cleanup rotary encoder encrot* defines

The encrot values are used in only one place, and don’t vary, so remove
redundant references.
This commit is contained in:
Scott Lahteine
2015-03-02 06:42:48 -08:00
parent b869476e99
commit f379edca78
10 changed files with 18 additions and 69 deletions

View File

@ -116,11 +116,6 @@
#define SDCARDDETECT 81 // Ramps does not use this port
//encoder rotation values
#define encrot0 0
#define encrot1 2
#define encrot2 3
#define encrot3 1
#else //!NEWPANEL - old style panel with shift register
//arduino pin witch triggers an piezzo beeper
#define BEEPER 33 No Beeper added
@ -138,12 +133,6 @@
#define LCD_PINS_D6 27
#define LCD_PINS_D7 29
//encoder rotation values
#define encrot0 0
#define encrot1 2
#define encrot2 3
#define encrot3 1
//bits in the shift register that carry the buttons for:
// left up center down right red
#define BL_LE 7