git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
D'oh. Wrong silence code.
[uccvend-snackrom.git]
/
ROM2
/
chime.h
diff --git
a/ROM2/chime.h
b/ROM2/chime.h
index
88e8b15
..
412c082
100644
(file)
--- a/
ROM2/chime.h
+++ b/
ROM2/chime.h
@@
-7,9
+7,13
@@
#define CHIME_TIME 5 /* number of RTIs to have the chime on (6.6ms each) */
extern volatile u8 chime_count;
#define CHIME_TIME 5 /* 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; }
/* 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 */
void chime(); /* RTI interrupt */
UCC
git Repository :: git.ucc.asn.au