feat(perf,ux): GPU compute warp, dual-layer OpenXR OSD, HW decode, profiles & modular architecture (Lots 3 & 4)

This commit is contained in:
bleack committed 2026-11-25 23:05:02 +01:00
1 parent d82a65d9e6
commit 4aa4fc06e7
27 files changed
+9678 -7045

No files matched your search

+2 -2
View File
@@ -295,12 +295,12 @@ impl G29BridgeReceiver {
fn parse_crsf_hex(hex: &str, telemetry: &Arc<Mutex<TelemetryState>>) {
let bytes = hex.trim().as_bytes();
if bytes.len() < 8 || bytes.len() % 2 != 0 || bytes.len() > 128 {
if bytes.len() < 8 || !bytes.len().is_multiple_of(2) || bytes.len() > 128 {
return;
}
let mut raw = [0u8; 64];
let mut out_len = 0;
for chunk in bytes.chunks_exact(2) {
for chunk in bytes.as_chunks::<2>().0 {
let Some(hi) = Self::hex_nibble(chunk[0]) else {
return;
};