added support for other cfg service names
This commit is contained in:
parent
bba6b90ba0
commit
af34e85ab2
@ -8,7 +8,14 @@ static Handle CFGU_handle = 0;
|
||||
|
||||
Result initCfgu()
|
||||
{
|
||||
return srvGetServiceHandle(&CFGU_handle, "cfg:u");
|
||||
Result ret;
|
||||
|
||||
// cfg:i has the most commands, then cfg:s, then cfg:u
|
||||
ret = srvGetServiceHandle(&CFGU_handle, "cfg:i");
|
||||
if(ret) ret = srvGetServiceHandle(&CFGU_handle, "cfg:s");
|
||||
if(ret) ret = srvGetServiceHandle(&CFGU_handle, "cfg:u");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Result exitCfgu()
|
||||
|
Loading…
Reference in New Issue
Block a user