pub unsafe extern "C" fn infrared_reset_encoder(
handler: *mut InfraredEncoderHandler,
message: *const InfraredMessage,
)Expand description
Reset INFRARED encoder and set new message to encode. If it’s not called after receiveing
InfraredStatusDone in infrared_encode(), encoder will encode repeat messages
till the end of time.
§Arguments
handler(direction in) - - handler to INFRARED encoder. Should be acquired withinfrared_alloc_encoder().message(direction in) - - message to encode.