feat(color): support PPM_US setting (#4987)

This commit is contained in:
philmoz
2024-06-02 17:58:28 +10:00
committed by GitHub
parent b16524837a
commit 43afacf230
11 changed files with 92 additions and 48 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ char *getGVarString(char *dest, int idx);
char *getGVarString(int idx);
char *getValueOrGVarString(char *dest, size_t len, gvar_t value, gvar_t vmin,
gvar_t vmax, LcdFlags flags = 0,
const char *suffix = nullptr, gvar_t offset = 0);
const char *suffix = nullptr, gvar_t offset = 0, bool usePPMUnit = false);
const char *getSwitchWarnSymbol(uint8_t pos);
const char *getSwitchPositionSymbol(uint8_t pos);
char *getSwitchPositionName(char *dest, swsrc_t idx);