Expand screen resolution to the full 640x480

This commit is contained in:
James Babcock committed 2026-07-31 12:57:10 -07:00
1 parent 818f33ce33
commit 6d42f0e65e
7 files changed
+38 -36

No files matched your search

+3 -3
View File
@@ -1,13 +1,13 @@
/**
* Compatibility check for the glasses firmware. Faceclaw requires the custom
* firmware: version >= 2.2.4.34 with the "img580" and "fbguard" extension tokens
* firmware: version >= 2.2.4.34 with the "img640" and "fbguard" extension tokens
* in the CFW capability string. Stock firmware sends no capability string at all.
*/
import { type FirmwareInfo } from "../native/faceclaw-communicator";
const MIN_FIRMWARE_VERSION = [2, 2, 4, 34];
const REQUIRED_FIRMWARE_EXTENSIONS = ["img580", "fbguard"] as const;
const REQUIRED_FIRMWARE_EXTENSIONS = ["img640", "fbguard"] as const;
// The stock firmware release Faceclaw's custom image is built from. Stock at or
// below this can be flashed with our patched image; a newer stock version is
@@ -64,7 +64,7 @@ export function firmwareIncompatibilityMessage(info: FirmwareInfo): string | nul
`${missingExtensions.map((extension) => `"${extension}"`).join(" and ")} extension` +
`${missingExtensions.length === 1 ? "" : "s"}` +
`${info.capabilities.trim() ? ` (reported: ${info.capabilities.trim()})` : ", which suggests stock firmware"}. ` +
`Faceclaw requires the modified firmware with the guarded 580x300 direct-framebuffer path.`
`Faceclaw requires the modified firmware with the guarded 640x480 direct-framebuffer path.`
);
}