sdmmc: add DeviceDetector, gpio: implement client api

This commit is contained in:
Michael Scire
2020-10-26 04:06:02 -07:00
parent 9a41e19004
commit 22fb4ff095
25 changed files with 950 additions and 42 deletions

View File

@@ -92,7 +92,7 @@ void __appInit(void) {
R_ABORT_UNLESS(psmInitialize());
R_ABORT_UNLESS(spsmInitialize());
R_ABORT_UNLESS(plInitialize(::PlServiceType_User));
R_ABORT_UNLESS(gpioInitialize());
gpio::Initialize();
R_ABORT_UNLESS(fsInitialize());
});
@@ -105,7 +105,7 @@ void __appExit(void) {
/* Cleanup services. */
fsExit();
plExit();
gpioExit();
gpio::Finalize();
spsmExit();
psmExit();
lblExit();