Really fix whitespace

This commit is contained in:
pixel-stuck 2018-11-17 16:55:31 -05:00 committed by GitHub
parent f902b7f833
commit 6d8682db44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;