From: Leo C Date: Wed, 14 Jan 2015 23:06:03 +0000 (+0100) Subject: Don't wait forever, if memfifo for console out is not initialized. X-Git-Tag: hexrel-5~6 X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/commitdiff_plain/ce47d431da8ca00d52caffebaafd7ddb817d7b26?hp=11b53d3fc2bf5346bfd2d87191e20b22c5651013 Don't wait forever, if memfifo for console out is not initialized. --- diff --git a/TODO.md b/TODO.md index 8e0686d..b952c9d 100644 --- a/TODO.md +++ b/TODO.md @@ -3,3 +3,4 @@ TODO List - TODO: eliminate xmalloc - TODO: build time directory as lib +- TODO: command 'help ' should return success diff --git a/avr/z80-if.c b/avr/z80-if.c index b64e755..d5dc2d7 100644 --- a/avr/z80-if.c +++ b/avr/z80-if.c @@ -593,7 +593,7 @@ int z80_memfifo_is_empty(const fifo_t f) int z80_memfifo_is_full(const fifo_t f) { - int rc = 1; + int rc = 0; if (fifo_dsc[f].base != 0) { z80_bus_cmd(Request);