Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wollewald committed Oct 2, 2022
1 parent c620f7d commit dcd66c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/INA219_WE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ float INA219_WE::getShuntVoltage_mV(){
else{
overflow = false;
}
val -= shuntVoltageOffset;
return (val * 0.01);
return ((val * 0.01) - shuntVoltageOffset);
}


Expand Down

0 comments on commit dcd66c2

Please sign in to comment.