]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
delete unused function z80_get_byte()
authorLeo C <erbl259-lmu@yahoo.de>
Thu, 4 Jun 2015 20:46:54 +0000 (22:46 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Thu, 4 Jun 2015 20:46:54 +0000 (22:46 +0200)
avr/z180-serv.c

index 381465043fc0f560d9b6d601613b79a552a84a88..929cd97148472d060afc2675f7bcdc4ae6bbf602 100644 (file)
        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;