MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / fontSizeEnumFromSettings

Function fontSizeEnumFromSettings

src/SdCardFontSystem.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace {
9
10static uint8_t fontSizeEnumFromSettings() {
11 uint8_t e = SETTINGS.fontSize;
12 if (e >= CrossPointSettings::FONT_SIZE_COUNT) e = 1; // default to MEDIUM
13 return e;
14}
15
16} // namespace
17

Callers 2

beginMethod · 0.85
ensureLoadedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected