Rename BEEPER to BEEPER_PIN
For consistency with other pins, allowing use of `PIN_EXISTS` macro.
This commit is contained in:
committed by
Richard Wackerbarth
parent
b217474eab
commit
94a796c8cc
@ -57,9 +57,9 @@
|
||||
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
//arduino pin witch triggers an piezzo beeper
|
||||
#define BEEPER 18
|
||||
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
@ -71,15 +71,12 @@
|
||||
//buttons are directly attached
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC 19 //the click
|
||||
#define BTN_ENC 19
|
||||
|
||||
#define SDCARDDETECT 38
|
||||
|
||||
#else //!NEWPANEL - Old style panel with shift register
|
||||
|
||||
//arduino pin witch triggers an piezzo beeper
|
||||
#define BEEPER 18
|
||||
|
||||
//buttons are attached to a shift register
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
|
Reference in New Issue
Block a user