Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of dgps by
Diff: packet.h
- Revision:
- 32:9cb7bc3fc9e0
- Parent:
- 20:81d5655fecc2
- Child:
- 36:53b69e471b5a
diff -r 6f68fa0aeee5 -r 9cb7bc3fc9e0 packet.h --- a/packet.h Tue Apr 22 15:40:23 2014 +0000 +++ b/packet.h Wed Apr 23 01:43:17 2014 +0000 @@ -74,10 +74,10 @@ if(getTCPConStatus){ setTCPConStatus = 0; while(getTCPConStatus){} - wait_us(50000); + wait_us(100000); } setTCPConStatus = 1; - while(setTCPConStatus==1 && !getTCPConStatus){} + wait_us(100000); }while(!getTCPConStatus); }