MCPcopy Create free account
hub / github.com/BruceDevices/firmware / themeFS

Method themeFS

src/core/theme.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 theme = t;
14}
15FS *BruceTheme::themeFS(void) {
16 if (theme.fs == 1) return &LittleFS;
17 else if (theme.fs == 2) return &SD;
18 return &LittleFS; // always get back to safety
19}
20bool BruceTheme::openThemeFile(FS *fs, String filepath, bool overwriteConfigSettings) {
21
22 if (fs == nullptr) return true;

Callers 5

boot_screen_animFunction · 0.80
startup_soundFunction · 0.80
setupFunction · 0.80
drawIconImgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected