From b734915040befc6b7151a28b54c7d6e7febff36c Mon Sep 17 00:00:00 2001 From: YoungSoo Shin Date: Thu, 11 Dec 2025 15:28:32 +0900 Subject: [PATCH] monitor: reduce averaging and adjust conversion times for improved responsiveness Signed-off-by: YoungSoo Shin --- main/service/monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/service/monitor.c b/main/service/monitor.c index 2fa1e5c..b7cf816 100644 --- a/main/service/monitor.c +++ b/main/service/monitor.c @@ -54,9 +54,9 @@ ina3221_t ina3221 = { .ch1 = true, // channel 1 enable .ch2 = true, // channel 2 enable .ch3 = true, // channel 3 enable - .avg = INA3221_AVG_64, // 64 samples average - .vbus = INA3221_CT_2116, // 2ms by channel (bus) - .vsht = INA3221_CT_2116, // 2ms by channel (shunt) + .avg = INA3221_AVG_16, // 16 samples average + .vbus = INA3221_CT_140, // 140us by channel (bus) + .vsht = INA3221_CT_1100, // 1.1ms by channel (shunt) }, };