Any ideas about how to use ACU_GetWifiStatus properly?
This is the code of the function on my homebrew that uses ACU_GetWifiStatus. According to ctrulib doxygen, ACU_GetWifiStatus feeds the pointed u32 with 0 if wifi is disabled. But when I run it, the code on if block is executed even if Wifi is enabled. I tested on both Citra and on real hardware. Any ideas?Code:u32 enabled = 0; ACU_GetWifiStatus(&enabled); if (enabled == 0) { drawErr_btm("WiFi is disabled. \nPlease enable it by pulling the wifi switch.\n\nPress A button when done."); while (aptMainLoop()) { hidScanInput(); if (hidKeysUp() & KEY_A) { checkWifi(); } } }
Did you initialize the AC service by calling acInit()?











