From b7c325812aaa3253490dce84c77314398a9d2dd7 Mon Sep 17 00:00:00 2001 From: Joel16 Date: Tue, 22 May 2018 09:42:51 -0500 Subject: [PATCH] Make requested changes --- nx/include/switch/services/set.h | 24 ++++++++++++------------ nx/source/services/set.c | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/nx/include/switch/services/set.h b/nx/include/switch/services/set.h index 7b44c4ac..41ae0b1f 100644 --- a/nx/include/switch/services/set.h +++ b/nx/include/switch/services/set.h @@ -75,36 +75,36 @@ Result setsysGetSerialNumber(char *serial); /** * @brief Gets the lockscreen status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetLockScreenFlag(u8 *out); +Result setsysGetLockScreenFlag(bool *out); /** * @brief Gets the console information upload status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetConsoleInformationUploadFlag(u8 *out); +Result setsysGetConsoleInformationUploadFlag(bool *out); /** * @brief Gets the automatic application download status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetAutomaticApplicationDownloadFlag(u8 *out); +Result setsysGetAutomaticApplicationDownloadFlag(bool *out); /** * @brief Gets the NFC status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetNfcEnableFlag(u8 *out); +Result setsysGetNfcEnableFlag(bool *out); /** * @brief Gets the wireless LAN status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetWirelessLanEnableFlag(u8 *out); +Result setsysGetWirelessLanEnableFlag(bool *out); /** * @brief Gets the bluetooth status. - * @param out Pointer to output the status to. (1 = enabled, 0 = disabled) + * @param out Pointer to output the status to. */ -Result setsysGetBluetoothEnableFlag(u8 *out); +Result setsysGetBluetoothEnableFlag(bool *out); diff --git a/nx/source/services/set.c b/nx/source/services/set.c index 4b9d91b8..5fb2ff2a 100644 --- a/nx/source/services/set.c +++ b/nx/source/services/set.c @@ -385,7 +385,7 @@ Result setsysGetSerialNumber(char *serial) { return rc; } -Result setsysGetLockScreenFlag(u8 *out) { +Result setsysGetLockScreenFlag(bool *out) { IpcCommand c; ipcInitialize(&c); @@ -418,7 +418,7 @@ Result setsysGetLockScreenFlag(u8 *out) { return rc; } -Result setsysGetConsoleInformationUploadFlag(u8 *out) { +Result setsysGetConsoleInformationUploadFlag(bool *out) { IpcCommand c; ipcInitialize(&c); @@ -451,7 +451,7 @@ Result setsysGetConsoleInformationUploadFlag(u8 *out) { return rc; } -Result setsysGetAutomaticApplicationDownloadFlag(u8 *out) { +Result setsysGetAutomaticApplicationDownloadFlag(bool *out) { IpcCommand c; ipcInitialize(&c); @@ -484,7 +484,7 @@ Result setsysGetAutomaticApplicationDownloadFlag(u8 *out) { return rc; } -Result setsysGetNfcEnableFlag(u8 *out) { +Result setsysGetNfcEnableFlag(bool *out) { IpcCommand c; ipcInitialize(&c); @@ -517,7 +517,7 @@ Result setsysGetNfcEnableFlag(u8 *out) { return rc; } -Result setsysGetWirelessLanEnableFlag(u8 *out) { +Result setsysGetWirelessLanEnableFlag(bool *out) { IpcCommand c; ipcInitialize(&c); @@ -550,7 +550,7 @@ Result setsysGetWirelessLanEnableFlag(u8 *out) { return rc; } -Result setsysGetBluetoothEnableFlag(u8 *out) { +Result setsysGetBluetoothEnableFlag(bool *out) { IpcCommand c; ipcInitialize(&c);