More keypad fixes.
[uccvend-snackrom.git] / ROM2 / chime.h
diff --git a/ROM2/chime.h b/ROM2/chime.h
new file mode 100644 (file)
index 0000000..7cc7fa7
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef _CHIME_H_
+#define _CHIME_H_
+
+#include "types.h"
+
+#define CHIME_TIME 10 /* number of RTI interrupts to have the chimer on */
+
+extern u8 chime_count;
+
+void chime();
+extern inline void chime_start() { chime_count = CHIME_TIME; }
+
+#endif /* _CHIME_H_ */

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