SodaqMoja / SodaqOne-UniversalTracker-v2

6 stars 15 forks source link

Fix cayenne encoding of battery voltage #9

Closed bertrik closed 7 years ago

bertrik commented 7 years ago

Fix cayenne encoding of battery voltage by encoding it in volts (not…… millivolts). Doing it this way avoids an integer overflow. This is a simpler version than the earlier pull request.

SodaqMoja commented 7 years ago

I've accepted the changed, but I reworded the commit message.

Please read up on GIT commit messages. For example, https://github.com/erlang/otp/wiki/Writing-good-commit-messages or https://chris.beams.io/posts/git-commit/