fixed key
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
probeContacted,
|
||||
probingComplete,
|
||||
probingFailed,
|
||||
probingStarted
|
||||
probingStarted,
|
||||
} from "$lib/ControllerState";
|
||||
import { numberWithUnit } from "$lib/RegexHelpers";
|
||||
import TextFieldWithOptions from "$components/TextFieldWithOptions.svelte";
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user