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 });