diff options
Diffstat (limited to 'src/cortexelf-v1')
-rw-r--r-- | src/cortexelf-v1/ao_1802.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cortexelf-v1/ao_1802.c b/src/cortexelf-v1/ao_1802.c index b7e11637..9fb36595 100644 --- 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 |