git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@651 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4d2e568b56
commit
1170025270
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue