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
@ -112,8 +112,9 @@
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
#define KILL_PIN 80
|
||||
#if ENABLED(NEWPANEL)
|
||||
//arduino pin which triggers an piezzo beeper
|
||||
#define BEEPER 79 // Beeper on AUX-4
|
||||
|
||||
#define BEEPER_PIN 79 // Beeper on AUX-4
|
||||
|
||||
#define LCD_PINS_RS 70
|
||||
#define LCD_PINS_ENABLE 71
|
||||
#define LCD_PINS_D4 72
|
||||
@ -133,8 +134,9 @@
|
||||
#define SDCARDDETECT 81 // Ramps does not use this port
|
||||
|
||||
#else //!NEWPANEL - old style panel with shift register
|
||||
//arduino pin witch triggers an piezzo beeper
|
||||
#define BEEPER 33 No Beeper added
|
||||
|
||||
#define BEEPER_PIN 33 // No Beeper added
|
||||
|
||||
//buttons are attached to a shift register
|
||||
// Not wired this yet
|
||||
// #define SHIFT_CLK 38
|
||||
@ -165,7 +167,7 @@
|
||||
#endif // ULTRA_LCD
|
||||
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define BEEPER 44
|
||||
#define BEEPER_PIN 44
|
||||
// Pins for DOGM SPI LCD Support
|
||||
#define DOGLCD_A0 70
|
||||
#define DOGLCD_CS 71
|
||||
|
Reference in New Issue
Block a user