UART B hotfix

This commit is contained in:
Robin Müller 2025-02-13 11:13:07 +01:00
parent 82b4c16f8e
commit 30905e6572
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 8 additions and 3 deletions

View File

@ -48,6 +48,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Add new `get_tim_raw` unsafe method to retrieve TIM peripheral blocks.
- `Uart::with_with_interrupt` and `Uart::new_without_interrupt`
## [v0.8.1] 2025-02-13
## Fixed
- Important bugfix for UART driver which causes UART B drivers not to work.
## [v0.8.0] 2024-09-30
## Changed

View File

@ -7,7 +7,6 @@
//! - [Flashloader exposing a CCSDS interface via UART](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/flashloader)
use core::{convert::Infallible, ops::Deref};
use fugit::RateExtU32;
use va108xx::Uarta;
pub use crate::InterruptConfig;
use crate::{
@ -401,7 +400,7 @@ impl Instance for pac::Uarta {
}
#[inline(always)]
fn ptr() -> *const uart_base::RegisterBlock {
Uarta::ptr() as *const _
pac::Uarta::ptr() as *const _
}
}
@ -416,7 +415,7 @@ impl Instance for pac::Uartb {
}
#[inline(always)]
fn ptr() -> *const uart_base::RegisterBlock {
Uarta::ptr() as *const _
pac::Uartb::ptr() as *const _
}
}