added running to position on initial connection and safeguard against starting a run without calibration

This commit is contained in:
2025-12-31 17:38:52 -06:00
parent f7bad6f505
commit 50e2557f3c
3 changed files with 3 additions and 600 deletions

View File

@@ -219,7 +219,8 @@ void servoServerListen() {
void runToAppPos(uint8_t appPos) {
// manual control takes precedence over remote control, always.
if (runningManual) return;
// also do not begin operation if not calibrated;
if (runningManual || !calib.getCalibrated()) return;
servoOff();
// allow servo position to settle