From 6d8682db4425df9dd0b67e74a5221fcdceabfd32 Mon Sep 17 00:00:00 2001 From: pixel-stuck Date: Sat, 17 Nov 2018 16:55:31 -0500 Subject: [PATCH] Really fix whitespace --- nx/source/services/pcv.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/nx/source/services/pcv.c b/nx/source/services/pcv.c index e52ba37f..664f4ec3 100644 --- a/nx/source/services/pcv.c +++ b/nx/source/services/pcv.c @@ -126,16 +126,16 @@ Result pcvSetVoltageEnabled(bool state, u32 voltage) { Result rc = serviceIpcDispatch(&g_pcvSrv); if (R_SUCCEEDED(rc)) { - IpcParsedCommand r; - struct { - u64 magic; - u64 result; - } *resp; + IpcParsedCommand r; + struct { + u64 magic; + u64 result; + } *resp; - serviceIpcParse(&g_pcvSrv, &r, sizeof(*resp)); - resp = r.Raw; + serviceIpcParse(&g_pcvSrv, &r, sizeof(*resp)); + resp = r.Raw; - rc = resp->result; + rc = resp->result; } return rc; @@ -160,18 +160,18 @@ Result pcvGetVoltageEnabled(bool *isEnabled, u32 voltage) { Result rc = serviceIpcDispatch(&g_pcvSrv); if (R_SUCCEEDED(rc)) { - IpcParsedCommand r; - struct { - u64 magic; - u64 result; - bool isEnabled; - } *resp; + IpcParsedCommand r; + struct { + u64 magic; + u64 result; + bool isEnabled; + } *resp; - serviceIpcParse(&g_pcvSrv, &r, sizeof(*resp)); - resp = r.Raw; + serviceIpcParse(&g_pcvSrv, &r, sizeof(*resp)); + resp = r.Raw; - rc = resp->result; - *isEnabled = resp->isEnabled; + rc = resp->result; + *isEnabled = resp->isEnabled; } return rc;