Bunch of silly errors & debugging stuff.
[uccvend-snackrom.git] / ROM2 / keypad.h
index ef01345..b5e5f28 100644 (file)
@@ -13,7 +13,7 @@
 #define KEY_0     10
 #define KEY_RESET 11
 
-extern u8 last_key;
+extern volatile u8 last_key;
 
 /* returns true if a key has been pressed since the last call */
 bool keypad_pressed();

UCC git Repository :: git.ucc.asn.au