Bug fix: missing boardId in getOscilloscopeCallback

This commit is contained in:
naweiss 2026-04-30 08:28:17 +03:00
parent 2e4c470f75
commit ec730fb463
1 changed files with 2 additions and 2 deletions

View File

@ -1149,7 +1149,7 @@ export const useSimulatorStore = create<SimulatorState>((set, get) => {
);
return { boards, serialBaudRate: baud };
}),
getOscilloscopeCallback(),
getOscilloscopeCallback(boardId),
);
simulatorMap.set(boardId, sim);
@ -1229,7 +1229,7 @@ export const useSimulatorStore = create<SimulatorState>((set, get) => {
);
return { boards, serialBaudRate: baud };
}),
getOscilloscopeCallback(),
getOscilloscopeCallback(boardId),
);
simulatorMap.set(boardId, sim);
set({ simulator: sim, serialOutput: '', serialBaudRate: 0 });