wip
This commit is contained in:
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
pub mod dex_db;
|
pub mod cardstore;
|
||||||
pub mod nvs;
|
pub mod settings;
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
use alloc::collections::HashMap;
|
||||||
|
use esp_hal::storage::FlashStorage;
|
||||||
|
|
||||||
|
use crate::card::model::NfcPayload;
|
||||||
|
|
||||||
|
const MAX_CARDS: usize = 20000;
|
||||||
|
|
||||||
|
struct CardStorage {
|
||||||
|
allocation_table: HashMap,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl CardStorage {
|
||||||
|
fn get_card_by_uuid(uuid: &str) -> NfcPayload {}
|
||||||
|
|
||||||
|
fn get_card_by_position(position: usize) {}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
// Storage dex_db module
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
// Storage nvs module
|
|
||||||
Reference in New Issue
Block a user