chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add M401 - Wait for user on LCD button press
[marlin.git]
/
Marlin
/
ultralcd.h
diff --git
a/Marlin/ultralcd.h
b/Marlin/ultralcd.h
index b01368bc14d843cab116b6f8345199a8e83470c3..c3bc94b7306ce9864f948840180007c7c00b0b29 100644
(file)
--- a/
Marlin/ultralcd.h
+++ b/
Marlin/ultralcd.h
@@
-13,6
+13,7
@@
#define LCD_UPDATE_INTERVAL 100
#define STATUSTIMEOUT 15000
extern LiquidCrystal lcd;
+ extern volatile char buttons=0; //the last checked buttons in a bit array.
#ifdef NEWPANEL
#define EN_C (1<<BLEN_C)