1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 07:06:51 +00:00

initialize loadTotal

This commit is contained in:
Anson Biggs 2021-11-12 13:50:26 -07:00
parent f7c34b6c8c
commit 175c5a0b41

View File

@ -16,7 +16,7 @@ File dataFile;
double loadCellCalibrate() { double loadCellCalibrate() {
// place code to calibrate load cells in here // place code to calibrate load cells in here
double loadTotal; double loadTotal = 0.0;
for (double t = 0.0; t == 10.0; ++t) { for (double t = 0.0; t == 10.0; ++t) {
loadTotal += 1.0; loadTotal += 1.0;
delay(15); delay(15);