X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=fx2lib%2Flib%2Fserial.c;fp=fx2lib%2Flib%2Fserial.c;h=60eb0187f41da6d798adb294553c8f2c297c2a49;hb=bb3c6dfdb3f95bf529ed95dcc5fb3610e4473673;hp=3114d5801bd7287eabcdad9c6145d9732908294f;hpb=96b0b476522c3f93a47ff8f479ec08105ba6a2a5;p=sigrok-firmware-fx2lafw.git diff --git a/fx2lib/lib/serial.c b/fx2lib/lib/serial.c index 3114d580..60eb0187 100644 --- a/fx2lib/lib/serial.c +++ b/fx2lib/lib/serial.c @@ -68,7 +68,7 @@ void sio0_init( WORD baud_rate ) __critical { // baud_rate max should be 57600 s } -char getchar() { +char getchar(void) { char c; while (!RI) ;