Skip to content

Commit

Permalink
Fixed signedness for the power factor
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Wolter <[email protected]>
  • Loading branch information
fwolter committed Jan 12, 2021
1 parent 36993c5 commit 40fbd71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum ALD1Registers {
CURRENT(0.1f, 37, UINT16, Units.AMPERE),
ACTIVE_POWER(10, 38, INT16, Units.WATT),
REACTIVE_POWER(10, 39, INT16, Units.VAR),
POWER_FACTOR(0.01f, 40, UINT16, Units.ONE);
POWER_FACTOR(0.01f, 40, INT16, Units.ONE);

private BigDecimal multiplier;
private int registerNumber;
Expand Down

0 comments on commit 40fbd71

Please sign in to comment.