From 30f878614ca70b3a295d4595f130d96bce039ea6 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 16 May 2023 00:06:21 -0400 Subject: [PATCH] GDI4: battery voltage #204 --- GDI-4ch/firmware/pt2001impl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/GDI-4ch/firmware/pt2001impl.h b/GDI-4ch/firmware/pt2001impl.h index 9b2ccb2..b9b7db1 100644 --- a/GDI-4ch/firmware/pt2001impl.h +++ b/GDI-4ch/firmware/pt2001impl.h @@ -54,6 +54,7 @@ protected: // Get battery voltage - only try to init chip when powered float getVbatt() const override { // TODO return real vbatt + // TODO: maybe do not bother with getVbatt() at all? only used for conditional restart, this does not seem to justify any effort return 12; }