mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-20 03:20:18 +00:00
fix(bootloader-interface): report the correct firmware revision
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user