Function ctru_sys::PTMSYSM_NotifySleepPreparationComplete
source · pub unsafe extern "C" fn PTMSYSM_NotifySleepPreparationComplete(
ackValue: s32
) -> Result
Expand description
Acknowledges the current sleep notification and advance the internal sleep mode FSM. All subscribers must reply.
§Arguments
ackValue
- Use ptmSysmGetNotificationAckValue
Note: PTMNOTIFID_SLEEP_DENIED and PTMNOTIFID_FULLY_AWAKE don’t require this.