Skip to content

Commit

Permalink
Merge pull request #7 from mrpj100/fix_p_mode
Browse files Browse the repository at this point in the history
Removes local declaration of P_mode from within ::init.
  • Loading branch information
patrickelectric authored Jan 28, 2022
2 parents ce9efd4 + ebc8501 commit 00ceff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KellerLD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void KellerLD::init() {
day = (scaling0 & 0b0000000001111100) >> 2;

// handle P-mode pressure offset (to vacuum pressure)
float P_mode;

if (mode == 0) {
// PA mode, Vented Gauge. Zero at atmospheric pressure
P_mode = 1.01325;
Expand Down

0 comments on commit 00ceff6

Please sign in to comment.