add ventilation device class

This commit is contained in:
MichaelDvP
2023-05-10 16:55:03 +02:00
parent c9ab6b23ea
commit b2ad600de2
9 changed files with 259 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ class Telegram {
return (val != value);
}
bool read_enumvalue(uint8_t & value, const uint8_t index, uint8_t start = 0) const {
bool read_enumvalue(uint8_t & value, const uint8_t index, int8_t start = 0) const {
if ((index < this->offset) || ((index - this->offset) >= this->message_length)) {
return false;
}