-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error with BEEPER_PIN -1 or #undef BEEPER_PIN #3999
Labels
Milestone
Comments
Seems an error with |
ghost
changed the title
Compilation error with BEEPER_PIN -1 or #undef BEEPERPIN
Compilation error with BEEPER_PIN -1 or #undef BEEPER_PIN
Jun 10, 2016
@esenapaj could you please try the following diff ? diff --git a/Marlin/ultralcd.h b/Marlin/ultralcd.h
index 5cb1ecc..e855835 100644
--- a/Marlin/ultralcd.h
+++ b/Marlin/ultralcd.h
@@ -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) |
Thanks for the quick fix. |
jbrazio
added a commit
to jbrazio/Marlin
that referenced
this issue
Jun 10, 2016
thinkyhead
added a commit
that referenced
this issue
Jun 11, 2016
Closes #3999: Compilation error with BEEPER_PIN -1
CONSULitAS
pushed a commit
to CONSULitAS/Marlin-K8200
that referenced
this issue
Aug 18, 2016
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After PR #3995(New feature: Non blocking tone queue) was meged, I've gotten compilation errors.
If I set the BEEPER_PIN to -1 for disable beep, it causes compilation error.
error log.txt
If I undefine the BEEPER_PIN by #undef BEEPER_PIN, I got another error.
error log2.txt
Settings:
Configuration.txt
pins_RAMPS_14.txt
The text was updated successfully, but these errors were encountered: