Update ina228.h comment typo (#22018)

Update comment wording to "Charge Result" from "Energy Result" as this is reading from the charge register
This commit is contained in:
Fermi-4 2023-09-09 18:12:57 -05:00 committed by GitHub
parent efe0db5725
commit 9fe8bd698b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ using namespace time_literals;
#define INA228_ENERGY_SHIFTS (0) #define INA228_ENERGY_SHIFTS (0)
#define INA228_ENERGY_MASK (UINT64_C(0xffffffffff) << INA228_ENERGY_SHIFTS) #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_SHIFTS (0)
#define INA228_CHARGE_MASK (UINT64_C(0xffffffffff) << INA228_CHARGE_SHIFTS) #define INA228_CHARGE_MASK (UINT64_C(0xffffffffff) << INA228_CHARGE_SHIFTS)