mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
fix buffer
This commit is contained in:
@@ -229,7 +229,7 @@ void Roomctrl::temperature(uint8_t addr, uint8_t dst, uint8_t hc) {
|
|||||||
|
|
||||||
// send telegram 0x047B only for RC100H
|
// send telegram 0x047B only for RC100H
|
||||||
void Roomctrl::humidity(uint8_t addr, uint8_t dst, uint8_t hc) {
|
void Roomctrl::humidity(uint8_t addr, uint8_t dst, uint8_t hc) {
|
||||||
uint8_t data[10];
|
uint8_t data[11];
|
||||||
data[0] = addr;
|
data[0] = addr;
|
||||||
data[1] = dst;
|
data[1] = dst;
|
||||||
uint16_t dew = calc_dew(remotetemp_[hc], remotehum_[hc]);
|
uint16_t dew = calc_dew(remotetemp_[hc], remotehum_[hc]);
|
||||||
|
|||||||
Reference in New Issue
Block a user