mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
@@ -318,6 +318,13 @@ export class CharaDevice {
|
||||
await this.send("RST BOOTLOADER")
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the device
|
||||
*/
|
||||
async reset(type: "FACTORY" | "PARAMS" | "KEYMAPS" | "STARTER" | "CLEARCML" | "FUNC") {
|
||||
await this.send(`RST ${type}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current number of bytes available in SRAM.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user