stm32/uart: feature-gate ringbuffer out when using gpdma, not supported yet.

This commit is contained in:
Dario Nieuwenhuis
2023-05-01 18:15:46 +02:00
parent 25864ae4dc
commit 96e8a7ddb9
4 changed files with 20 additions and 7 deletions

View File

@ -1,3 +1,5 @@
#![cfg_attr(gpdma, allow(unused))]
use core::ops::Range;
use core::sync::atomic::{compiler_fence, Ordering};