diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-14 14:52:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:52 +0100 |
commit | 26335844f484c8cd061444cebba9480b62d165cb (patch) | |
tree | ccfc446db291d329a723c6f1eb22e570216bc63b /testsuites/sptests/sp43/init.c | |
parent | Optional Classic Tasks initialization (diff) | |
download | rtems-26335844f484c8cd061444cebba9480b62d165cb.tar.bz2 |
Optional Classic Timer initialization
Update #2408.
Diffstat (limited to 'testsuites/sptests/sp43/init.c')
-rw-r--r-- | testsuites/sptests/sp43/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c index dbea7fa645..03fe5a5958 100644 --- a/testsuites/sptests/sp43/init.c +++ b/testsuites/sptests/sp43/init.c @@ -412,6 +412,12 @@ rtems_task Init( print_class_info( OBJECTS_CLASSIC_API, OBJECTS_RTEMS_TASKS, &info ); puts( "rtems_object_get_class_information - Classic Timers - OK" ); + sc = rtems_timer_create(0, NULL); + fatal_directive_status( + sc, + RTEMS_INVALID_NAME, + "rtems_timer_create" + ); sc = rtems_object_get_class_information( OBJECTS_CLASSIC_API, OBJECTS_RTEMS_TIMERS, &info ); directive_failed( sc, "rtems_object_get_class_information" ); |