diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-21 20:42:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-21 20:42:09 +0000 |
commit | 433217fa6348542c24174d458d11390af6dd9480 (patch) | |
tree | ce01053e4d2253d701edb393d6ac9017c1d1a859 /rtems-test-template | |
parent | 646a3cdeac6c9ab9624ab57efcb175648050575b (diff) |
2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* sptest_operation_from_tsr/init.c: Fix loop.
Diffstat (limited to 'rtems-test-template')
-rw-r--r-- | rtems-test-template/ChangeLog | 4 | ||||
-rw-r--r-- | rtems-test-template/sptest_operation_from_tsr/init.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/rtems-test-template/ChangeLog b/rtems-test-template/ChangeLog index 442d6a3..3127052 100644 --- a/rtems-test-template/ChangeLog +++ b/rtems-test-template/ChangeLog @@ -1,5 +1,9 @@ 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> + * sptest_operation_from_tsr/init.c: Fix loop. + +2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> + * sptest_operation_from_tsr/Makefile.am, sptest_operation_from_tsr/TEST.doc, sptest_operation_from_tsr/TEST.scn, sptest_operation_from_tsr/init.c: diff --git a/rtems-test-template/sptest_operation_from_tsr/init.c b/rtems-test-template/sptest_operation_from_tsr/init.c index fef2ad5..9246d97 100644 --- a/rtems-test-template/sptest_operation_from_tsr/init.c +++ b/rtems-test-template/sptest_operation_from_tsr/init.c @@ -57,7 +57,7 @@ rtems_task Init( start = rtems_clock_get_ticks_since_boot(); do { now = rtems_clock_get_ticks_since_boot(); - } while ( (now-start) > 100 ); + } while ( (now-start) < 100 ); } #endif if ( !operation_performed_from_tsr ) { @@ -67,6 +67,7 @@ rtems_task Init( /* XXX also may be able to confirm operation actually was performed */ + puts( "Operation from ISR successfully processed" ); puts( "*** END OF TEST @DESC@ ***" ); rtems_test_exit( 0 ); } |