Skip to content

Commit

Permalink
Clean up warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 7, 2023
1 parent 46a7af5 commit 29e822b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ default = ["esp32s3", "defmt"]
battery_adc = []
battery_max17055 = ["dep:max17055"]

bitbang_spi = []

hw_v1 = ["battery_adc"]
hw_v2 = ["battery_max17055"] # also v3
hw_v4 = ["battery_max17055"]
Expand Down
1 change: 1 addition & 0 deletions src/board/drivers/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub mod battery_monitor;
#[cfg(feature = "bitbang_spi")]
pub mod bitbang_spi;
pub mod display;
pub mod frontend;
1 change: 0 additions & 1 deletion src/states/measure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use embassy_sync::{blocking_mutex::raw::CriticalSectionRawMutex, channel::Channe
use embassy_time::{Duration, Instant, Ticker};
use embedded_graphics::Drawable;
use embedded_hal::spi::ErrorType;
use embedded_hal_bus::spi::DeviceError;
use gui::screens::{init::StartupScreen, measure::EcgScreen};
use macros as cardio;
use object_chain::{chain, Chain, ChainElement, Link};
Expand Down

0 comments on commit 29e822b

Please sign in to comment.