summaryrefslogtreecommitdiff
path: root/avr/z180-serv.c
diff options
context:
space:
mode:
authorLeo C2015-06-04 22:46:54 +0200
committerLeo C2015-06-04 22:46:54 +0200
commit50939dece93115ee500261129f311a840ca21a81 (patch)
tree7933b52e075ea51a9335c161a46fdd3b956018bd /avr/z180-serv.c
parent8d0fad4c149a3283eb2a6840f6eeeb7158aad9ca (diff)
downloadz180-stamp-50939dece93115ee500261129f311a840ca21a81.zip
delete unused function z80_get_byte()
Diffstat (limited to 'avr/z180-serv.c')
-rw-r--r--avr/z180-serv.c18
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;