diff options
-rw-r--r-- | avr/z180-serv.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/avr/z180-serv.c b/avr/z180-serv.c index 3814650..929cd97 100644 --- a/avr/z180-serv.c +++ b/avr/z180-serv.c @@ -29,22 +29,6 @@ debug_cond(DEBUG_CPM_SDIO, fmt, ##args) - -/*--------------------------------------------------------------------------*/ - - -uint8_t z80_get_byte(uint32_t adr) -{ - uint8_t data; - - z80_bus_cmd(Request); - data = z80_read(adr); - z80_bus_cmd(Release); - - return data; -} - - /*--------------------------------------------------------------------------*/ struct msg_item { @@ -591,7 +575,7 @@ void check_msg_fifo(void) int msg_handling(int state) { - uint8_t pending; + bool pending; ATOMIC_BLOCK(ATOMIC_FORCEON) { pending = (Stat & S_MSG_PENDING) != 0; |