From ec730fb463ae8e8d052ca4d6fe8098d0e6647bf5 Mon Sep 17 00:00:00 2001 From: naweiss Date: Thu, 30 Apr 2026 08:28:17 +0300 Subject: [PATCH] Bug fix: missing boardId in getOscilloscopeCallback --- frontend/src/store/useSimulatorStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/store/useSimulatorStore.ts b/frontend/src/store/useSimulatorStore.ts index 14dae764..67c07c34 100644 --- a/frontend/src/store/useSimulatorStore.ts +++ b/frontend/src/store/useSimulatorStore.ts @@ -1149,7 +1149,7 @@ export const useSimulatorStore = create((set, get) => { ); return { boards, serialBaudRate: baud }; }), - getOscilloscopeCallback(), + getOscilloscopeCallback(boardId), ); simulatorMap.set(boardId, sim); @@ -1229,7 +1229,7 @@ export const useSimulatorStore = create((set, get) => { ); return { boards, serialBaudRate: baud }; }), - getOscilloscopeCallback(), + getOscilloscopeCallback(boardId), ); simulatorMap.set(boardId, sim); set({ simulator: sim, serialOutput: '', serialBaudRate: 0 });