From dee3a7a2414a29d656cb27fdd1e28ec4d0b127c0 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 26 Oct 2020 03:49:29 -0700 Subject: [PATCH] gpio: loosen sysver restriction on OpenSession --- nx/source/services/gpio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nx/source/services/gpio.c b/nx/source/services/gpio.c index 3b9d1ca2..2f2904f9 100644 --- a/nx/source/services/gpio.c +++ b/nx/source/services/gpio.c @@ -55,10 +55,6 @@ static Result _gpioCmdInU32OutBool(Service *srv, bool *out_value, u32 inval, u32 } Result gpioOpenSession(GpioPadSession *out, GpioPadName name) { - if (hosversionAtLeast(7,0,0)) { - return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); - } - _Static_assert(sizeof(name) == sizeof(u32), "GpioPadName size"); return serviceDispatchIn(&g_gpioSrv, 1, name, .out_num_objects = 1,