Fix color lcd conversions

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:01 +01:00
parent 4c8db58166
commit fb4f555442
5 changed files with 24 additions and 3 deletions
@@ -132,6 +132,8 @@ static uint8_t select_zov(uint8_t* data, uint32_t bitoffs)
data += bitoffs >> 3UL;
data -= sizeof(ZoneOptionValueEnum);
ZoneOptionValueEnum* p_zovt = (ZoneOptionValueEnum*)data;
if (*p_zovt > ZOV_String)
return 0;
return *p_zovt;
}
#endif