When addBoard promotes a board to active (first board, or the previously active one was removed) it set activeBoardId without syncing s.simulator, unlike setActiveBoardId which sets both. Parts that read s.simulator - SPI displays (ILI9341) attach spi.onByte to the active simulator - then wired onto the previous board's bus and never received data, so a boards[] ESP32 example with a TFT rendered black. Sync simulator to the promoted board (no-op when the active board is unchanged). |
||
|---|---|---|
| .. | ||
| serialBatcher.ts | ||
| useCompileLogsStore.ts | ||
| useEditorStore.ts | ||
| useElectricalStore.ts | ||
| useOscilloscopeStore.ts | ||
| useProjectStore.ts | ||
| useSimulatorStore.ts | ||
| useVfsStore.ts | ||