Skip to content

Commit

Permalink
Change average to sum
Browse files Browse the repository at this point in the history
  • Loading branch information
RedFox86 committed Feb 5, 2025
1 parent 2a3778c commit 7d0b404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void setVoltage(Voltage voltage) {

@Override
public Current getCurrentDraw() {
return Amps.of((left.getOutputCurrent() + right.getOutputCurrent()) / 2);
return Amps.of(left.getOutputCurrent() + right.getOutputCurrent());
}

@Override
Expand Down

0 comments on commit 7d0b404

Please sign in to comment.