Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

hal_ready - indicates that this component is ready

Arguments

comp_id
              A HAL component identifier returned by an earlier call to hal_init.

Description

hal_ready  indicates  that this component is ready (has created all its pins, parameters, and functions).
       This must be called in any realtime HAL component before  its  rtapi_app_init  exits,  and  in  any  non-
       realtime component before it enters its main loop.

Name

       hal_ready - indicates that this component is ready

Return Value

       Returns a HAL status code.

LinuxCNC Documentation                             2006-10-12                                        funct(3hal)

Syntax


               hal_ready(int comp_id)

See Also