Closes #3999: Compilation error with BEEPER_PIN -1

This commit is contained in:
João Brázio 2016-06-11 00:12:49 +01:00
parent e2d4919c01
commit 2c34ec2bac
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: F62CFD37DFFDB540

View file

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