projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altosui: Remove --cat mode
[fw/altos]
/
src
/
cortexelf-v1
/
ao_1802.c
diff --git
a/src/cortexelf-v1/ao_1802.c
b/src/cortexelf-v1/ao_1802.c
index b7e11637ab9dbf9eeef4a80d5da106a86808c93f..9fb36595d3797376d32b06b042eb0e8f1f361936 100644
(file)
--- a/
src/cortexelf-v1/ao_1802.c
+++ b/
src/cortexelf-v1/ao_1802.c
@@
-73,14
+73,14
@@
static void
TPB_rising(void)
{
ADDRESS = (ADDRESS & 0xff00) | MA();
+ if (MWR() == 0 || MRD() == 0)
+ DATA = BUS();
ao_wakeup(&ADDRESS);
}
static void
TPB_falling(void)
{
- DATA = BUS();
- ao_wakeup(&ADDRESS);
}
uint8_t