MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / rebootIntoMassStorageSdmmc

Function rebootIntoMassStorageSdmmc

Tactility/Source/hal/usb/Usb.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void rebootIntoMassStorageSdmmc() {
89 if (tusbIsSupported()) {
90 bootModeData.flag = BOOT_FLAG_SDMMC;
91 esp_restart();
92 }
93}
94
95// NEW: Flash mass storage functions
96bool startMassStorageWithFlash(bool fromBootMode) {

Callers 1

onRebootMassStorageSdmmcFunction · 0.50

Calls 1

tusbIsSupportedFunction · 0.85

Tested by

no test coverage detected