Skip to content

Commit 42c89a1

Browse files
committed
Change zeroOffset type
1 parent 97d14fe commit 42c89a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/OpenLog_Artemis/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct struct_LPS28DFW {
105105
struct struct_NAU7802 {
106106
bool log = true;
107107
float calibrationFactor = 1.0; //Value used to convert the load cell reading to lbs or kg. Default to 1 to avoid divide-by-zero
108-
long zeroOffset = 0; //Zero value that is found when scale is tared. Default to 0 so we get raw readings
108+
int32_t zeroOffset = 0; //Zero value that is found when scale is tared. Default to 0 so we get raw readings
109109
int decimalPlaces = 2;
110110
int averageAmount = 4; //Number of readings to take per getWeight call
111111
float calibrationWeight = 1.0; //Default scale calibration weight. User can adjust via the menu

0 commit comments

Comments
 (0)