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

This commit is contained in:
2025-10-30 23:25:48 -04:00
parent a2f017ba30
commit c1a672afcb
2 changed files with 8 additions and 5 deletions

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)
}