mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-02-07 09:42:41 +00:00
feat: better handling of corrupted updates
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user