feat: better handling of corrupted updates

This commit is contained in:
2025-12-12 15:18:24 +01:00
parent 2893afa2ba
commit 4023ab9bd5
2 changed files with 67 additions and 15 deletions

View File

@@ -64,6 +64,7 @@ const KEY_COUNTS = {
TWO: 90,
LITE: 67,
X: 256,
ENGINE: 256,
M4G: 90,
M4GR: 90,
T4G: 7,
@@ -157,7 +158,7 @@ export class CharaDevice {
constructor(
private readonly port: SerialPortLike,
private readonly baudRate = 115200,
public baudRate = 115200,
) {}
async init() {