16 lines
353 B
TypeScript
16 lines
353 B
TypeScript
import { ControlPanelState } from "../devices/interfaces";
|
|
|
|
export const panelState = (): ControlPanelState => {
|
|
return {
|
|
homing_and_calibration: false,
|
|
motors: false,
|
|
encoders: false,
|
|
endstops: false,
|
|
error_handling: false,
|
|
pin_bindings: false,
|
|
danger_zone: false,
|
|
power_and_reset: false,
|
|
pin_guard: false
|
|
};
|
|
};
|