File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
TankAlarm-092025-Client-Hologram Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ void sendDailyReportForTank(int idx);
293293void logDailyDataForTank (int idx);
294294float readTankSensor (int tankIdx);
295295void updateAllTankReadings ();
296+ float convertToInches (float sensorValue, int tankIdx = 0 );
296297
297298// Calibration function declarations
298299void 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);
You can’t perform that action at this time.
0 commit comments