Skip to content

Commit 9afb324

Browse files
committed
Checkpoint from VS Code for coding agent session
1 parent 04b9d55 commit 9afb324

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TankAlarm-092025-Client-Hologram/TankAlarm-092025-Client-Hologram.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ void sendDailyReportForTank(int idx);
293293
void logDailyDataForTank(int idx);
294294
float readTankSensor(int tankIdx);
295295
void updateAllTankReadings();
296+
float convertToInches(float sensorValue, int tankIdx = 0);
296297

297298
// Calibration function declarations
298299
void loadCalibrationData();
@@ -1499,7 +1500,7 @@ void loadSDCardConfiguration() {
14991500
}
15001501

15011502
// Convert sensor reading to inches (requires tank index for height reference)
1502-
float convertToInches(float sensorValue, int tankIdx = 0) {
1503+
float convertToInches(float sensorValue, int tankIdx) {
15031504
// Use calibration data if available
15041505
if (calibrationDataLoaded && numCalibrationPoints >= 2) {
15051506
return interpolateHeight(sensorValue);

0 commit comments

Comments
 (0)