mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 06:10:35 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user