Function LightEvent_Init

Source
pub unsafe extern "C" fn LightEvent_Init(
    event: *mut LightEvent,
    reset_type: ResetType,
)
Expand description

Initializes a light event.

ยงArguments

  • event - Pointer to the event.
  • reset_type - Type of reset the event uses (RESET_ONESHOT/RESET_STICKY).