diff --git a/electron/src/components/ratio/RatioInput.tsx b/electron/src/components/ratio/RatioInput.tsx
index c8f71068..91d12ea2 100644
--- a/electron/src/components/ratio/RatioInput.tsx
+++ b/electron/src/components/ratio/RatioInput.tsx
@@ -96,7 +96,7 @@ export function RatioInput({
const handleNumpadClick = (digit: string) => {
if (activeField === null) return;
- let newValue = inputValue + digit;
+ const newValue = inputValue + digit;
setInputValue(newValue);
};
@@ -216,7 +216,8 @@ export function RatioInput({
value: number;
}) => {
const isActive = activeField === field;
- const displayValue = isActive && inputValue !== "" ? inputValue : value.toFixed(1);
+ const displayValue =
+ isActive && inputValue !== "" ? inputValue : value.toFixed(1);
return (
@@ -312,7 +313,7 @@ export function RatioInput({
{
e.preventDefault();
e.stopPropagation();
@@ -322,7 +323,7 @@ export function RatioInput({
C
{
e.preventDefault();
e.stopPropagation();
diff --git a/electron/src/machines/buffer/buffer1/buffer1Namespace.ts b/electron/src/machines/buffer/buffer1/buffer1Namespace.ts
index dd941f8e..330864c1 100644
--- a/electron/src/machines/buffer/buffer1/buffer1Namespace.ts
+++ b/electron/src/machines/buffer/buffer1/buffer1Namespace.ts
@@ -110,8 +110,7 @@ export function buffer1MessageHandler(
state: stateEvent,
}));
} else if (eventName === "LiveValuesEvent") {
- const liveValuesEvent = liveValuesEventSchema.parse(event);
- const timestamp = event.ts;
+ liveValuesEventSchema.parse(event);
updateStore((state) => ({
...state,
}));
diff --git a/electron/src/machines/winder/gluetex/GluetexAddonsPage.tsx b/electron/src/machines/winder/gluetex/GluetexAddonsPage.tsx
index 619a849a..dd70fd6f 100644
--- a/electron/src/machines/winder/gluetex/GluetexAddonsPage.tsx
+++ b/electron/src/machines/winder/gluetex/GluetexAddonsPage.tsx
@@ -10,7 +10,11 @@ import { Label } from "@/control/Label";
import { TouchButton } from "@/components/touch/TouchButton";
import { StatusBadge } from "@/control/StatusBadge";
import { useGluetex } from "./useGluetex";
-import { StepperMode, HeatingMode, getGearRatioMultiplier } from "./gluetexNamespace";
+import {
+ StepperMode,
+ HeatingMode,
+ getGearRatioMultiplier,
+} from "./gluetexNamespace";
import { roundToDecimals, roundDegreesToDecimals } from "@/lib/decimal";
import { TensionArm } from "../TensionArm";
import { RatioInput } from "@/components/ratio/RatioInput";
@@ -44,8 +48,6 @@ export function GluetexAddonsPage() {
const gearRatioMultiplier = getGearRatioMultiplier(
state?.puller_state?.gear_ratio,
);
- const maxMotorSpeed = 75; // Maximum motor speed in m/min
- const maxTargetSpeed = maxMotorSpeed / gearRatioMultiplier;
return (
@@ -154,35 +156,59 @@ export function GluetexAddonsPage() {
renderValue={(value) => roundToDecimals(value, 1)}
/>
-
+
-
+