From 5d2a7315d55c6a914ab59263c894edefd654c667 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Mon, 3 Jul 2017 19:28:34 +0200 Subject: [PATCH] Fix SetWifiEnabled --- k11_extension/include/svc/SetWifiEnabled.h | 2 +- k11_extension/source/svc/SetWifiEnabled.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/k11_extension/include/svc/SetWifiEnabled.h b/k11_extension/include/svc/SetWifiEnabled.h index c7d31e1..ab5bdd5 100644 --- a/k11_extension/include/svc/SetWifiEnabled.h +++ b/k11_extension/include/svc/SetWifiEnabled.h @@ -30,4 +30,4 @@ #include "kernel.h" #include "svc.h" -void SetWifiEnabled(bool enable); +Result SetWifiEnabled(bool enable); diff --git a/k11_extension/source/svc/SetWifiEnabled.c b/k11_extension/source/svc/SetWifiEnabled.c index 59596d7..38ff0a2 100644 --- a/k11_extension/source/svc/SetWifiEnabled.c +++ b/k11_extension/source/svc/SetWifiEnabled.c @@ -26,10 +26,12 @@ #include "svc/SetWifiEnabled.h" -void SetWifiEnabled(bool enable) +Result SetWifiEnabled(bool enable) { if(enable) CFG11_WIFICNT |= 1; else CFG11_WIFICNT &= ~1; + + return 0; }