![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo with update made to thread depreciation
Dependencies: GPS_Provider X_NUCLEO_GNSS1A1
Revision 4:4e909af6e7b9, committed 2020-01-31
- Comitter:
- HarryKeane
- Date:
- Fri Jan 31 13:26:16 2020 +0000
- Parent:
- 3:df74e7673460
- Commit message:
- qwerty
Changed in this revision
X_NUCLEO_GNSS1A1.lib | Show annotated file Show diff for this revision Revisions of this file |
source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r df74e7673460 -r 4e909af6e7b9 X_NUCLEO_GNSS1A1.lib --- a/X_NUCLEO_GNSS1A1.lib Thu Feb 14 11:38:36 2019 +0000 +++ b/X_NUCLEO_GNSS1A1.lib Fri Jan 31 13:26:16 2020 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/teams/ST/code/X_NUCLEO_GNSS1A1/#9d0addf682f0 +https://os.mbed.com/users/HarryKeane/code/X_NUCLEO_GNSS1A1/#d91199cfc6a4
diff -r df74e7673460 -r 4e909af6e7b9 source/main.cpp --- a/source/main.cpp Thu Feb 14 11:38:36 2019 +0000 +++ b/source/main.cpp Fri Jan 31 13:26:16 2020 +0000 @@ -129,7 +129,7 @@ while(true) { while (!serialDebug.readable()) { - Thread::yield(); // Allow other threads to run + ThisThread::yield(); // Allow other threads to run } ch = serialDebug.getc(); serialDebug.putc(ch); @@ -323,7 +323,7 @@ } break; } - Thread::yield(); // Allow other threads to run + ThisThread::yield(); // Allow other threads to run } } @@ -346,7 +346,7 @@ cmdThread.start(_ExecAppCmd); while(1) { - Thread::yield(); + ThisThread::yield(); } }