git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@651 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-01-20 20:43:09 +00:00
parent 4d2e568b56
commit 1170025270
1 changed files with 2 additions and 2 deletions

View File

@ -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");