Bugfix: Value right shift was ignored
This commit is contained in:
parent
654ff2e7c3
commit
3764fd8b77
|
@ -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());
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <cstdint>
|
||||
|
||||
// Uncomment for Version 2.0 where load cell is connected differently
|
||||
#define _HW_V_20
|
||||
//#define _HW_V_20
|
||||
#define NEW_HEAVY_LOAD_CELL
|
||||
|
||||
constexpr const char *CONFIG_HOSTNAME = "swimtracker";
|
||||
|
|
|
@ -73,7 +73,7 @@ bool firmwareUpdate()
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void sessionManagerSetup()
|
||||
{
|
||||
Preferences scalePrefs;
|
||||
|
|
Loading…
Reference in New Issue