From 8544e86e0f497707f2680ca7472de6b209d156d4 Mon Sep 17 00:00:00 2001 From: lumapu Date: Mon, 14 Aug 2023 10:50:39 +0200 Subject: [PATCH] 0.7.32 * fix colors of live view #1091 --- src/CHANGES.md | 3 +++ src/defines.h | 2 +- src/hm/hmRadio.h | 4 ++-- src/web/html/visualization.html | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 575686c8..dc428fe3 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.7.32 - 2023-08-14 +* fix colors of live view #1091 + ## 0.7.31 - 2023-08-13 * fixed docu #1085 * changed active power limit MqTT messages to QOS2 #1072 diff --git a/src/defines.h b/src/defines.h index ddc2d668..7ce144f2 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 7 -#define VERSION_PATCH 31 +#define VERSION_PATCH 32 //------------------------------------- typedef struct { diff --git a/src/hm/hmRadio.h b/src/hm/hmRadio.h index c6d313cc..9be396d2 100644 --- a/src/hm/hmRadio.h +++ b/src/hm/hmRadio.h @@ -217,10 +217,10 @@ class HmRadio { mTxBuf[10] = cmd; // cid mTxBuf[11] = 0x00; CP_U32_LittleEndian(&mTxBuf[12], ts); - if (cmd == AlarmData ) { //cmd == RealTimeRunData_Debug || + /*if (cmd == AlarmData ) { //cmd == RealTimeRunData_Debug || mTxBuf[18] = (alarmMesId >> 8) & 0xff; mTxBuf[19] = (alarmMesId ) & 0xff; - } + }*/ sendPacket(invId, 24, isRetransmit); } diff --git a/src/web/html/visualization.html b/src/web/html/visualization.html index a1241902..81b63b5a 100644 --- a/src/web/html/visualization.html +++ b/src/web/html/visualization.html @@ -144,8 +144,8 @@ } function ch(status, name, vals) { - var clh = (0 == status) ? "iv-h-dis" : "iv-h"; - var clbg = (0 == status) ? "iv-bg-dis" : "iv-bg"; + var clh = (0 == status) ? "iv-h-dis" : "ch-h"; + var clbg = (0 == status) ? "iv-bg-dis" : "ch-bg"; return ml("div", {class: "col-6 col-md-3 mt-2"}, [ ml("div", {class: "p-2 a-c " + clh}, name), ml("div", {class: "p-2 " + clbg}, [