Bugfix: Value right shift was ignored

This commit is contained in:
Martin Bauer
2021-07-27 14:38:14 +02:00
parent 654ff2e7c3
commit 3764fd8b77
3 changed files with 4 additions and 3 deletions

View File

@@ -86,7 +86,8 @@ void SessionManager<SessionT>::begin(int scaleDoutPin, int scaleSckPin, uint8_t
scaleDoutPin_ = scaleDoutPin;
scaleSckPin_ = scaleSckPin;
tareAvgCount_ = tareAvgCount;
valueRightShift_ = valueRightShift;
timeClient_.begin();
timeClient_.update();
session_.init(timeClient_.getEpochTime());