fix: firmware updates

This commit is contained in:
2024-11-08 15:42:58 +01:00
parent 3659b80e41
commit 232045964c
3 changed files with 31 additions and 12 deletions

View File

@@ -513,11 +513,11 @@ export class CharaDevice {
const writer2 = this.port.writable!.getWriter();
try {
await writer2.write(new TextEncoder().encode(`RST REBOOT\r\n`));
await writer2.write(new TextEncoder().encode(`RST RESTART\r\n`));
serialLog.update((it) => {
it.push({
type: "input",
value: "RST REBOOT",
value: "RST RESTART",
});
return it;
});