Enable incremental frames; add config setting for controlling custom firmware debug flags

This commit is contained in:
James Babcock committed 2026-07-06 12:42:58 -07:00
1 parent 2bc53b8c0e
commit 1533c550b4
7 files changed
+92 -8

No files matched your search

+4
View File
@@ -311,6 +311,10 @@ export class FaceclawCommunicatorBridge {
await this.enqueueJavaCall(() => this.communicator.setG2ScreenOn(Boolean(screenOn)));
}
async setFirmwareDebugFlags(enabled: boolean): Promise<void> {
await this.enqueueJavaCall(() => this.communicator.setFirmwareDebugFlags(Boolean(enabled)));
}
async submitDashboardImage(image8bpp: Uint8Array, width: number, height: number, fingerprint: string, paintMs = -1, frameId = 0): Promise<void> {
// Snapshot because the Java call is deferred; the buffer is passed as an
// ArrayBuffer, which NativeScript marshals to a ByteBuffer without the