From 9fe8bd698b9ea1164ad6741dee21aabae10ac36c Mon Sep 17 00:00:00 2001 From: Fermi-4 <43210830+Fermi-4@users.noreply.github.com> Date: Sat, 9 Sep 2023 18:12:57 -0500 Subject: [PATCH] Update ina228.h comment typo (#22018) Update comment wording to "Charge Result" from "Energy Result" as this is reading from the charge register --- src/drivers/power_monitor/ina228/ina228.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/power_monitor/ina228/ina228.h b/src/drivers/power_monitor/ina228/ina228.h index d010d5e4b9..9b57e5011a 100644 --- a/src/drivers/power_monitor/ina228/ina228.h +++ b/src/drivers/power_monitor/ina228/ina228.h @@ -214,7 +214,7 @@ using namespace time_literals; #define INA228_ENERGY_SHIFTS (0) #define INA228_ENERGY_MASK (UINT64_C(0xffffffffff) << INA228_ENERGY_SHIFTS) -/* INA228 Energy Result (CHARGE) 40-bit Register (Address = Ah) [reset = 0h] */ +/* INA228 Charge Result (CHARGE) 40-bit Register (Address = Ah) [reset = 0h] */ #define INA228_CHARGE_SHIFTS (0) #define INA228_CHARGE_MASK (UINT64_C(0xffffffffff) << INA228_CHARGE_SHIFTS)