From 128b16b105b58771b55d214d25fff1286fd0eec8 Mon Sep 17 00:00:00 2001 From: lumapu Date: Mon, 25 Apr 2022 20:04:12 +0200 Subject: [PATCH] fix --- tools/esp8266/hmInverters.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/esp8266/hmInverters.h b/tools/esp8266/hmInverters.h index 60169790..8de60d86 100644 --- a/tools/esp8266/hmInverters.h +++ b/tools/esp8266/hmInverters.h @@ -71,6 +71,7 @@ const byteAssign_t hm400assignment[] = { { FLD_IAC, UNIT_A, CH0, CMD82, 18, 2, 100 }, { FLD_T, UNIT_C, CH0, CMD82, 22, 2, 10 } }; +#define HM400_LIST_LEN (sizeof(hm400assignment) / sizeof(byteAssign_t)) //-------------------------------------