From fbdb73abd9a535d5c8cb4ae675027bad26507e08 Mon Sep 17 00:00:00 2001 From: HookedBehemoth Date: Fri, 21 Feb 2020 13:49:58 +0100 Subject: [PATCH] fan: add docs --- nx/include/switch/services/fan.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nx/include/switch/services/fan.h b/nx/include/switch/services/fan.h index bb119b91..3df5a144 100644 --- a/nx/include/switch/services/fan.h +++ b/nx/include/switch/services/fan.h @@ -1,10 +1,23 @@ +/** + * @file fan.h + * @brief Fan service IPC wrapper. + * @author Behemoth + * @copyright libnx Authors + */ #pragma once #include "../types.h" #include "../sf/service.h" +/// Initialize fan. Result fanInitialize(void); + +/// Exit fan. void fanExit(void); + +/// Gets the Service object for the actual fan service session. Service* fanGetServiceSession(void); + +/// Gets the Service object for the actual fan controller service session. Service* fanGetServiceSession_Controller(void); Result fanSetRotationSpeedLevel(float level);