Skip to content

Commit

Permalink
batteryCurrent_I_mA: uint32_t to int32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
SW-Niko committed Apr 7, 2024
1 parent c15a861 commit 6885c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VeDirectFrameHandler/VeDirectData.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef struct {
char serialNr_SER[VE_MAX_VALUE_LEN]; // serial number
char firmwareNr_FW[VE_MAX_VALUE_LEN]; // firmware release number
uint32_t batteryVoltage_V_mV = 0; // battery voltage in mV
uint32_t batteryCurrent_I_mA = 0; // battery current in mA
int32_t batteryCurrent_I_mA = 0; // battery current in mA (can be negative)
float mpptEfficiency_Percent = 0; // efficiency in percent (calculated, moving average)

frozen::string const& getPidAsString() const; // product ID as string
Expand Down

0 comments on commit 6885c6e

Please sign in to comment.