From 062984275ee614fe4a7314d68daabd0314f84594 Mon Sep 17 00:00:00 2001 From: pulipakaa24 Date: Sat, 21 Mar 2026 00:01:12 -0500 Subject: [PATCH] Avoid massive position reset on reboot --- src/servo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/servo.cpp b/src/servo.cpp index 0bc472a..e915718 100644 --- a/src/servo.cpp +++ b/src/servo.cpp @@ -50,6 +50,7 @@ void servoInit() { gpio_set_level(debugLED, 0); // Start with LED off topEnc->count = servoReadPos(); + bottomEnc->count = servoReadPos(); if (Calibration::getCalibrated()) initMainLoop(); // debugLEDSwitch(1); }