diff --git a/analog_system_monitor_arduino/analog_system_monitor_arduino.ino b/analog_system_monitor_arduino/analog_system_monitor_arduino.ino index b4d114b..835ce90 100644 --- a/analog_system_monitor_arduino/analog_system_monitor_arduino.ino +++ b/analog_system_monitor_arduino/analog_system_monitor_arduino.ino @@ -129,12 +129,9 @@ uint16_t portInput; // ID of the UDP port Number control // --- Calibration UI Controls --- uint16_t calChannelDropdown; -uint16_t calLabel; uint16_t calInputs[5]; uint16_t calTestValueInput; -uint16_t calTestButton; uint16_t calSaveButton; -uint16_t calReleaseButton; uint16_t calOverrideSwitch; uint8_t selectedCalChannel = 0; @@ -166,7 +163,6 @@ float applyCalibration(uint8_t ch, float logicalDuty) { // ------------------------------- void refreshCalibrationUI() { String label = "CH" + String(selectedCalChannel) + " (" + channelLabels[selectedCalChannel] + ")"; - ESPUI.updateControlValue(calLabel, label); for (int i = 0; i < 5; i++) { ESPUI.updateControlValue(calInputs[i], String(calibratedPoints[selectedCalChannel][i], 2)); @@ -225,14 +221,6 @@ void calSaveCallback(Control *sender, int type) { Serial.println("Calibration saved."); } -void calReleaseOverrideCallback(Control *sender, int type) { - Serial.println("Manual override released for all channels."); - - for (int ch = 0; ch < NUM_CHANNELS; ch++) { - overrideActive[ch] = false; - } -} - void calOverrideSwitchCallback(Control *sender, int type) { bool enabled = sender->value.toInt() == 1;