Function QTMC_SetIrLedStatusOverride

Source
pub unsafe extern "C" fn QTMC_SetIrLedStatusOverride(
    on: bool,
) -> Result
Expand description

Temporarily overrides IR LED state. Requires “manual control” from qtm:u to be disabled, and has lower priority than it. Same implementation as QTMS_SetIrLedStatusOverride.

§Arguments

  • on - Whether to turn the IR LED on or off.

§Returns

0xD82183F8 if API not started, 0xC8A18005 if manual control was enabled or if the operation failed, or 0xC8A18009 if QTM is unavailable (in particular, QTM is always unavailable on N2DSXL). Otherwise, 0 (success).