From 82341c744ae588e5a6287938d6cc5dde1d154864 Mon Sep 17 00:00:00 2001 From: Bharat Kathi Date: Fri, 14 Jun 2024 09:41:05 -0400 Subject: [PATCH] no vdm scaling needed --- dashboard/src/pages/gr24/inverter/InverterPage.tsx | 2 +- gr24/service/vdm_service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/pages/gr24/inverter/InverterPage.tsx b/dashboard/src/pages/gr24/inverter/InverterPage.tsx index 78dc878..bdc3e7c 100644 --- a/dashboard/src/pages/gr24/inverter/InverterPage.tsx +++ b/dashboard/src/pages/gr24/inverter/InverterPage.tsx @@ -15,7 +15,7 @@ function InverterPage() { { name: "Raw Debug Live", width: 600, - height: 300, + height: 900, component: , }, ]); diff --git a/gr24/service/vdm_service.go b/gr24/service/vdm_service.go index d12b60b..cdf8d5b 100644 --- a/gr24/service/vdm_service.go +++ b/gr24/service/vdm_service.go @@ -92,7 +92,7 @@ func VDMFromBytes(data []byte) model.VDM { return vdm } -// scaleVDM scales the vdm values to be between 0 and 100 +// scaleVDM scales the vdm values func scaleVDM(vdm model.VDM) model.VDM { return vdm }