mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-19 04:41:42 +08:00
c-user: changed RTEMS_STATUS_SUCCESSFUL to RTEMS_SUCCESSFUL
This commit is contained in:
@@ -35,13 +35,13 @@ Example Application
|
|||||||
name, 1, RTEMS_MINIMUM_STACK_SIZE,
|
name, 1, RTEMS_MINIMUM_STACK_SIZE,
|
||||||
RTEMS_NO_PREEMPT, RTEMS_FLOATING_POINT, &tid
|
RTEMS_NO_PREEMPT, RTEMS_FLOATING_POINT, &tid
|
||||||
);
|
);
|
||||||
if ( status != RTEMS_STATUS_SUCCESSFUL ) {
|
if ( status != RTEMS_SUCCESSFUL ) {
|
||||||
printf( "rtems_task_create failed with status of %d.\n", status );
|
printf( "rtems_task_create failed with status of %d.\n", status );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
status = rtems_task_start( tid, user_application, 0 );
|
status = rtems_task_start( tid, user_application, 0 );
|
||||||
if ( status != RTEMS_STATUS_SUCCESSFUL ) {
|
if ( status != RTEMS_SUCCESSFUL ) {
|
||||||
printf( "rtems_task_start failed with status of %d.\n", status );
|
printf( "rtems_task_start failed with status of %d.\n", status );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user