fixed key

This commit is contained in:
sanjayk03-dev
2025-06-05 00:37:58 +05:30
parent 747230cf9b
commit e938aa24c3
3 changed files with 3 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ class RotaryHandler(bbctrl.APIHandler):
motors = config_data.get("motors")
motors_backup = config_data.get("motors_backup", {})
motors_backup = config_data.get("motors-backup", {})
if not motors:
raise ValueError("Motors data not found in configuration")

View File

@@ -11,7 +11,7 @@
probeContacted,
probingComplete,
probingFailed,
probingStarted
probingStarted,
} from "$lib/ControllerState";
import { numberWithUnit } from "$lib/RegexHelpers";
import TextFieldWithOptions from "$components/TextFieldWithOptions.svelte";

View File

@@ -10,6 +10,7 @@ export const probingFailed = writable(false);
export const probingComplete = writable(false);
export function handleControllerStateUpdate(state: Record<string, any>) {
if (get(probingActive)) {
if (state.pw === 0) {
probeContacted.set(true);