stm32/uart: feature-gate ringbuffer out when using gpdma, not supported yet.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#![cfg_attr(gpdma, allow(unused))]
|
||||
|
||||
use core::ops::Range;
|
||||
use core::sync::atomic::{compiler_fence, Ordering};
|
||||
|
||||
|
@ -980,7 +980,10 @@ mod eio {
|
||||
pub use buffered::*;
|
||||
#[cfg(feature = "nightly")]
|
||||
mod buffered;
|
||||
|
||||
#[cfg(not(gpdma))]
|
||||
mod rx_ringbuffered;
|
||||
#[cfg(not(gpdma))]
|
||||
pub use rx_ringbuffered::RingBufferedUartRx;
|
||||
|
||||
#[cfg(usart_v1)]
|
||||
|
Reference in New Issue
Block a user