From d5c1ac005bcd0cb0b03c5d407974507c64d312ca Mon Sep 17 00:00:00 2001 From: lumapu Date: Mon, 25 Apr 2022 20:40:59 +0200 Subject: [PATCH] * add cmd82 to list --- tools/esp8266/hmInverters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/esp8266/hmInverters.h b/tools/esp8266/hmInverters.h index 8de60d86..1da3f62c 100644 --- a/tools/esp8266/hmInverters.h +++ b/tools/esp8266/hmInverters.h @@ -18,7 +18,7 @@ const char* const fields[] = {"U_DC", "I_DC", "P_DC", "YieldDay", "YieldWeek", " // CH0 is default channel (freq, ac, temp) enum {CH0 = 0, CH1, CH2, CH3, CH4}; -enum {CMD01 = 0x01, CMD02, CMD03, CMD83 = 0x83, CMD84}; +enum {CMD01 = 0x01, CMD02, CMD03, CMD82 = 0x82, CMD83, CMD84}; enum {INV_TYPE_HM600 = 0, INV_TYPE_HM1200, INV_TYPE_HM400}; const char* const invTypes[] = {"HM600", "HM1200", "HM400"};