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

Function isUsbBootMode

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

Source from the content-addressed store, hash-verified

120}
121
122bool isUsbBootMode() {
123 return bootModeData.flag == BOOT_FLAG_SDMMC || bootModeData.flag == BOOT_FLAG_FLASH; // Support both
124}
125
126BootMode getUsbBootMode() {
127 switch (bootModeData.flag) {

Callers 2

setupUsbBootModeMethod · 0.50
onCreateMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected