Bug fix: missing boardId in getOscilloscopeCallback
This commit is contained in:
parent
2e4c470f75
commit
ec730fb463
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Reference in New Issue