forked from Imagelibrary/rtems
2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp29/init.c: Fixed return value evaluation. * sp59/init.c: Added status code assignment. Fixed typos. * sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos. * sp63/init.c: Check return value of _Heap_Initialize().
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
|
||||
|
||||
* sp29/init.c: Fixed return value evaluation.
|
||||
* sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos.
|
||||
* sp63/init.c: Check return value of _Heap_Initialize().
|
||||
|
||||
|
||||
@@ -82,8 +82,8 @@ rtems_task Init (rtems_task_argument ignored)
|
||||
puts( "This test only prints on errors." );
|
||||
|
||||
ticksPerSecond = rtems_clock_get_ticks_per_second();
|
||||
if (sc != RTEMS_SUCCESSFUL) {
|
||||
printf ("Can't get ticks per second: %s\n", rtems_status_text (sc));
|
||||
if (ticksPerSecond <= 0) {
|
||||
printf ("Invalid ticks per second: %lu\n", (unsigned long) ticksPerSecond);
|
||||
exit (1);
|
||||
}
|
||||
sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'r', 'c'),
|
||||
|
||||
Reference in New Issue
Block a user