From c00384924ebfa071214ff40c6ca6e617bdbe30c6 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Apr 2024 11:09:56 +0200 Subject: [PATCH] nn_ccr: Add CCRSysCaffeineSetDRCEnableFlag and CCRSysCaffeineSetEnableFlag --- include/nn/ccr/sys_caffeine.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/nn/ccr/sys_caffeine.h b/include/nn/ccr/sys_caffeine.h index fce8052a0..61d700de9 100644 --- a/include/nn/ccr/sys_caffeine.h +++ b/include/nn/ccr/sys_caffeine.h @@ -30,6 +30,18 @@ CCRSysCaffeineGetAppLaunchParam(CCRAppLaunchParam * data); uint32_t CCRSysCaffeineBootCheck(); +/** + * @return 0 on success, -1 on error + */ +int32_t +CCRSysCaffeineSetDRCEnableFlag(int32_t enabled); + +/** + * @return 0 on success, -1 on error + */ +int32_t +CCRSysCaffeineSetEnableFlag(int32_t enabled); + #ifdef __cplusplus } #endif