diff --git a/sphinx-key/src/main.rs b/sphinx-key/src/main.rs index 5284d24..8d5c8d8 100644 --- a/sphinx-key/src/main.rs +++ b/sphinx-key/src/main.rs @@ -5,6 +5,7 @@ mod periph; use crate::core::{config::*, events::*}; use crate::periph::led::led_control_loop; +#[allow(unused_imports)] use crate::periph::sd::{mount_sd_card, simple_fs_test}; use anyhow::Result; diff --git a/sphinx-key/src/periph/sd.rs b/sphinx-key/src/periph/sd.rs index d17ccee..5c5f7bc 100644 --- a/sphinx-key/src/periph/sd.rs +++ b/sphinx-key/src/periph/sd.rs @@ -133,6 +133,7 @@ pub fn mount_sd_card() -> anyhow::Result<()> { Ok(()) } +#[allow(dead_code)] pub fn simple_fs_test() { // Create and write a file, append a file, read a file, delete a file, create a directory, write a file