forked from Imagelibrary/rtems
Small patch from Peter Pointner <pr@schenk.isar.de> to correct
invalid use of directive_failed macro.
This commit is contained in:
@@ -42,7 +42,8 @@ rtems_extension Task_switch(
|
||||
Run_count[ index ] += 1;
|
||||
|
||||
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
|
||||
directive_failed( status, "rtems_clock_get" );
|
||||
fatal_directive_status_with_level( status, RTEMS_SUCCESSFUL,
|
||||
"rtems_clock_get", 1 );
|
||||
|
||||
put_name( Task_name[ index ], FALSE );
|
||||
print_time( "- ", &time, "\n" );
|
||||
|
||||
Reference in New Issue
Block a user