add credit, add 013 debug timer message on keypress
[uccvend-snackrom.git] / ROM2 / chime.h
index bd93ab4..4d4553d 100644 (file)
@@ -4,13 +4,16 @@
 #include "types.h"
 #include "vend.h"
 
-#define CHIME_TIME 5 /* number of RTIs to have the chime on (6.6ms each) */
+#define CHIME_TIME 1 /* number of RTIs to have the chime on (6.6ms each) */
 
 extern volatile u8 chime_count;
+extern volatile u8 unchime_count;
 
 /* outside world interface */
 extern inline void chime_start() { chime_count = CHIME_TIME; }
+extern inline void unchime_start() { unchime_count = CHIME_TIME; }
 extern inline void chime_for(u8 time) { chime_count = time; }
+extern inline void unchime_for(u8 time) { unchime_count = time; }
 
 void chime(); /* RTI interrupt */
 

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