feat: improve responsiveness

This commit is contained in:
2024-04-06 15:37:13 +02:00
parent 6f925de1af
commit 33890b0aa8
8 changed files with 93 additions and 54 deletions

View File

@@ -57,7 +57,7 @@ export async function initSerial(manual = false) {
const device = get(serialPort) ?? new CharaDevice();
await device.init(manual);
serialPort.set(device);
sync();
await sync();
}
export async function sync() {