fix(bootloader-interface): report the correct firmware revision

This commit is contained in:
alex committed 2025-10-30 23:25:48 -04:00
1 parent a2f017ba30
commit c1a672afcb
2 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ impl VariableController {
.flat_map(|c| c.to_le_bytes())
.collect::<Vec<u8>>();
// Add a null terminator to the end of the value.
encoded.push(0);
encoded.extend_from_slice(&[0, 0]);
self.set(key, &encoded, class)
}