aboutsummaryrefslogtreecommitdiff
path: root/common/xyzModem.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/xyzModem.c')
-rw-r--r--common/xyzModem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c
index 6bf2375671d..fc3459ebbaf 100644
--- a/common/xyzModem.c
+++ b/common/xyzModem.c
@@ -72,7 +72,7 @@ CYGACC_COMM_IF_GETC_TIMEOUT (char chan, char *c)
}
if (tstc ())
{
- *c = getc ();
+ *c = getchar();
return 1;
}
return 0;