Function QTMU_SetIrLedStatus

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

Turns the IR LED on or off during manual control. QTMU_EnableManualIrLedControl must have been called.

§Arguments

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

§Returns

0xC8A18005 if manual control was not enabled or if the operation failed, 0xC8A18008 if camera is in use by user, or 0xC8A18009 if QTM is unavailable (in particular, QTM is always unavailable on N2DSXL). Otherwise, 0 (success).