diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 18:00:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 18:00:38 -0600 |
commit | f4f8030be0af79250de05d323106dd34a5e7dc85 (patch) | |
tree | ac6ac62508e391422efee525bc3c438206e31259 /apps/examples | |
parent | f39ae5a8b656f320d99f391972e8b81a8c2d52fd (diff) | |
download | px4-nuttx-f4f8030be0af79250de05d323106dd34a5e7dc85.tar.gz px4-nuttx-f4f8030be0af79250de05d323106dd34a5e7dc85.tar.bz2 px4-nuttx-f4f8030be0af79250de05d323106dd34a5e7dc85.zip |
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/ostest/ostest_main.c | 2 | ||||
-rw-r--r-- | apps/examples/ostest/restart.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index a234e50e6..f7879ed3a 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -322,7 +322,7 @@ static int user_main(int argc, char *argv[]) #endif #ifdef CONFIG_ARCH_FPU - /* Check that the FPU is properly supported during context switching */ + /* Check that the FPU is properly supported during context switching */ printf("\nuser_main: FPU test\n"); fpu_test(); diff --git a/apps/examples/ostest/restart.c b/apps/examples/ostest/restart.c index 2193c8108..0d0f90d07 100644 --- a/apps/examples/ostest/restart.c +++ b/apps/examples/ostest/restart.c @@ -189,5 +189,5 @@ void restart_test(void) sleep(1); } - printf("restart_main: Exitting\n"); + printf("restart_main: Exiting\n"); } |