From 5acce759e014de318ce0c59eeae4fc047d84d60e Mon Sep 17 00:00:00 2001 From: lumapu Date: Tue, 17 May 2022 20:05:31 +0200 Subject: [PATCH] * fix #39 Assignment 2-Channel inverters (HM-600, HM-700, HM-800) --- tools/esp8266/defines.h | 2 +- tools/esp8266/hmDefines.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/esp8266/defines.h b/tools/esp8266/defines.h index de135cb2..fee7211b 100644 --- a/tools/esp8266/defines.h +++ b/tools/esp8266/defines.h @@ -16,7 +16,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 4 -#define VERSION_PATCH 1 +#define VERSION_PATCH 2 //------------------------------------- diff --git a/tools/esp8266/hmDefines.h b/tools/esp8266/hmDefines.h index 1f8c9389..15b55ea1 100644 --- a/tools/esp8266/hmDefines.h +++ b/tools/esp8266/hmDefines.h @@ -76,13 +76,13 @@ const byteAssign_t hm2chAssignment[] = { { FLD_IDC, UNIT_A, CH1, 4, 2, 100 }, { FLD_PDC, UNIT_W, CH1, 6, 2, 10 }, { FLD_YD, UNIT_WH, CH1, 22, 2, 1 }, - { FLD_YD, UNIT_KWH, CH1, 14, 4, 1000 }, + { FLD_YT, UNIT_KWH, CH1, 14, 4, 1000 }, { FLD_UDC, UNIT_V, CH2, 8, 2, 10 }, { FLD_IDC, UNIT_A, CH2, 10, 2, 100 }, { FLD_PDC, UNIT_W, CH2, 12, 2, 10 }, { FLD_YD, UNIT_WH, CH2, 18, 2, 1 }, - { FLD_YD, UNIT_KWH, CH2, 24, 4, 1000 }, + { FLD_YT, UNIT_KWH, CH2, 24, 4, 1000 }, { FLD_UAC, UNIT_V, CH0, 26, 2, 10 }, { FLD_IAC, UNIT_A, CH0, 34, 2, 10 },