Gedare Bloom commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150816 > + dhrl_worker_loop, > + (rtems_task_argument) ctx > + ); > + > + dhrl_calibrate_interleave( ctx ); > + > + return RTEMS_SUCCESSFUL; > +} > + > +/* Execution */ > +rtems_status_code dhrl_run_loop( void ) > +{ > + struct dhrl_control *ctx = &dhrl_instance; > + > + if ( ctx->worker_a_id == RTEMS_ID_NONE ) { > + return RTEMS_NOT_CONFIGURED; This is better, but `RTEMS_NOT_CONFIGURED` is not a valid error code. It should be from interr.h `Internal_errors_Core_list`. You might also use `rtems_fatal()` instead, to set an explicit fatal source. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150816 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
