Skip to content

Commit cd1aae6

Browse files
committed
Update comments
1 parent 610e77d commit cd1aae6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/OpenLog_Artemis/menuAttachedDevices.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ void menuConfigure_NAU7802(void *configPtr)
10611061
sensor->getWeight(true, 10); //Flush
10621062
}
10631063

1064-
sensor->calculateZeroOffset(sensorConfig->averageAmount); //Zero or Tare the scale
1064+
sensor->calculateZeroOffset(sensorConfig->averageAmount); //Zero or Tare the scale. With external calibration, this should be ~zero
10651065

10661066
sensorConfig->zeroOffset = sensor->getZeroOffset();
10671067
}
@@ -1106,6 +1106,7 @@ void menuConfigure_NAU7802(void *configPtr)
11061106
}
11071107
else if (incoming == 6)
11081108
{
1109+
//Limit number of readings to the sample rate so that the getWeight doesn't time out
11091110
SerialPrint(F("Enter number of readings to take per weight read (>= 1, < Sample Rate): "));
11101111
int rate;
11111112
switch (sensorConfig->sampleRate)

0 commit comments

Comments
 (0)