implement card storing

This commit is contained in:
2026-08-29 14:57:56 +00:00
parent 9d94120fc1
commit 996c884aec
4 changed files with 59 additions and 20 deletions
+4
View File
@@ -37,4 +37,8 @@ impl Store {
pub fn read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), StoreError> {
self.storage.read(FLASH_ADDR + offset, bytes)
}
pub fn write(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), StoreError> {
self.storage.write(FLASH_ADDR + offset, bytes)
}
}