Bugfix: Value right shift was ignored
This commit is contained in:
		
							parent
							
								
									654ff2e7c3
								
							
						
					
					
						commit
						3764fd8b77
					
				|  | @ -86,6 +86,7 @@ void SessionManager<SessionT>::begin(int scaleDoutPin, int scaleSckPin, uint8_t | ||||||
|     scaleDoutPin_ = scaleDoutPin; |     scaleDoutPin_ = scaleDoutPin; | ||||||
|     scaleSckPin_ = scaleSckPin; |     scaleSckPin_ = scaleSckPin; | ||||||
|     tareAvgCount_ = tareAvgCount; |     tareAvgCount_ = tareAvgCount; | ||||||
|  |     valueRightShift_ = valueRightShift; | ||||||
|      |      | ||||||
|     timeClient_.begin(); |     timeClient_.begin(); | ||||||
|     timeClient_.update(); |     timeClient_.update(); | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| #include <cstdint> | #include <cstdint> | ||||||
| 
 | 
 | ||||||
| // Uncomment for Version 2.0 where load cell is connected differently
 | // Uncomment for Version 2.0 where load cell is connected differently
 | ||||||
| #define _HW_V_20 | //#define _HW_V_20
 | ||||||
| #define NEW_HEAVY_LOAD_CELL | #define NEW_HEAVY_LOAD_CELL | ||||||
| 
 | 
 | ||||||
| constexpr const char *CONFIG_HOSTNAME = "swimtracker"; | constexpr const char *CONFIG_HOSTNAME = "swimtracker"; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue