Closes #3999: Compilation error with BEEPER_PIN -1

master
João Brázio 9 years ago
parent e2d4919c01
commit 2c34ec2bac
No known key found for this signature in database
GPG Key ID: F62CFD37DFFDB540

@ -27,8 +27,6 @@
#if ENABLED(ULTRA_LCD) #if ENABLED(ULTRA_LCD)
#include "buzzer.h"
#define BUTTON_EXISTS(BN) (defined(BTN_## BN) && BTN_## BN >= 0) #define BUTTON_EXISTS(BN) (defined(BTN_## BN) && BTN_## BN >= 0)
#define BUTTON_PRESSED(BN) !READ(BTN_## BN) #define BUTTON_PRESSED(BN) !READ(BTN_## BN)

Loading…
Cancel
Save