You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: add support for read-only text strings located in PROGMEM (flash)
Enabling such a method would support optimized SRAM usage on Arduino
User calls with PSTR(). ElemCreateTxt() / ElemCreate() may require typecasting param with (const char *)
DrvDrawTxt() could use pgm_read_byte()
Consider creating enum (GSLC_TXT_PROGMEM with negative value) in place of buffer length to flag the string as requiring PROGMEM access versus SRAM. Change nStrBufMax params to be int16_t instead of uint16_t.
Feature request: add support for read-only text strings located in
PROGMEM
(flash)PSTR()
.ElemCreateTxt()
/ElemCreate()
may require typecasting param with(const char *)
DrvDrawTxt()
could usepgm_read_byte()
GSLC_TXT_PROGMEM
with negative value) in place of buffer length to flag the string as requiring PROGMEM access versus SRAM. ChangenStrBufMax
params to beint16_t
instead ofuint16_t
.Example:
The text was updated successfully, but these errors were encountered: