summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorLeo C2015-01-15 00:06:03 +0100
committerLeo C2015-01-15 00:06:03 +0100
commitce47d431da8ca00d52caffebaafd7ddb817d7b26 (patch)
treee2c43f3e7ef81afcf5c8b1c49f4b4198790e4e61 /avr
parent11b53d3fc2bf5346bfd2d87191e20b22c5651013 (diff)
downloadz180-stamp-ce47d431da8ca00d52caffebaafd7ddb817d7b26.zip
Don't wait forever, if memfifo for console out is not initialized.
Diffstat (limited to 'avr')
-rw-r--r--avr/z80-if.c2
1 files changed, 1 insertions, 1 deletions
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);