mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix length of vacation string
This commit is contained in:
@@ -1517,7 +1517,6 @@ void Thermostat::process_RC35Timer(std::shared_ptr<const Telegram> telegram) {
|
|||||||
|
|
||||||
// type 0x9A (HC1)
|
// type 0x9A (HC1)
|
||||||
void Thermostat::process_RC30Vacation(std::shared_ptr<const Telegram> telegram) {
|
void Thermostat::process_RC30Vacation(std::shared_ptr<const Telegram> telegram) {
|
||||||
uint8_t index = 0;
|
|
||||||
if ((telegram->offset + telegram->message_length) > 57) {
|
if ((telegram->offset + telegram->message_length) > 57) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ class Thermostat : public EMSdevice {
|
|||||||
uint8_t humidity_;
|
uint8_t humidity_;
|
||||||
uint8_t battery_;
|
uint8_t battery_;
|
||||||
|
|
||||||
char vacation[8][21]; // RC30 only, only one hc
|
char vacation[8][22]; // RC30 only, only one hc
|
||||||
|
|
||||||
// HybridHP
|
// HybridHP
|
||||||
uint8_t hybridStrategy_; // co2 = 1, cost = 2, temperature = 3, mix = 4
|
uint8_t hybridStrategy_; // co2 = 1, cost = 2, temperature = 3, mix = 4
|
||||||
|
|||||||
Reference in New Issue
Block a user