diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/Win32-MinGW/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index a72d7b4da..ae06ff841 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/main.c @@ -127,9 +127,9 @@ static msg_t HelloWorldThread(void *arg) { PrintLineFDD(sd, "Hello World\r\n");
c = chFDDGetTimeout(sd, 333);
switch (c) {
- case -1:
+ case Q_TIMEOUT:
continue;
- case -2:
+ case Q_RESET:
return 1;
case 3:
PrintLineFDD(sd, "^C\r\n");
|