Stub in the DMA bits that aren't yet there.

This commit is contained in:
Bob McWhirter
2021-06-30 14:58:28 -04:00
parent bf3bc92525
commit 54ada5bae1
4 changed files with 14 additions and 3 deletions

View File

@ -21,7 +21,8 @@ impl<'d, T: Instance> Uart<'d, T> {
) -> Self {
unborrow!(inner, rx, tx);
T::enable();
// Uncomment once we find all of the H7's UART clocks.
//T::enable();
let pclk_freq = T::frequency();
// TODO: better calculation, including error checking and OVER8 if possible.