Skip to content

Commit

Permalink
Remove some DMA-related warnings (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyharden authored Feb 26, 2022
1 parent 101cf3d commit 0ebcacd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion hal/src/dmac/dma_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
//! deinitialize the DMAC and return the underlying PAC object.

use modular_bitfield::prelude::*;
use paste::paste;
use seq_macro::seq;

#[cfg(any(feature = "samd11", feature = "samd21"))]
Expand Down
1 change: 1 addition & 0 deletions hal/src/sercom/v2/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ impl<C: AnyConfig> I2c<C> {
.start_dma_read(address, xfer_len)
}

#[cfg(feature = "dma")]
#[inline]
pub(super) fn check_bus_status(&self) -> Result<(), Error> {
self.config.as_ref().registers.check_bus_status()
Expand Down

0 comments on commit 0ebcacd

Please # to comment.