UART B hotfix
This commit is contained in:
parent
82b4c16f8e
commit
b145047b95
@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## [v0.9.0]
|
## [v0.9.0]
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Important bugfix for UART driver which causes UART B drivers not to work.
|
||||||
|
|
||||||
## Removed
|
## Removed
|
||||||
|
|
||||||
- Deleted some HAL re-exports in the PWM module
|
- Deleted some HAL re-exports in the PWM module
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
//! - [Flashloader exposing a CCSDS interface via UART](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/flashloader)
|
//! - [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 core::{convert::Infallible, ops::Deref};
|
||||||
use fugit::RateExtU32;
|
use fugit::RateExtU32;
|
||||||
use va108xx::Uarta;
|
|
||||||
|
|
||||||
pub use crate::InterruptConfig;
|
pub use crate::InterruptConfig;
|
||||||
use crate::{
|
use crate::{
|
||||||
@ -401,7 +400,7 @@ impl Instance for pac::Uarta {
|
|||||||
}
|
}
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn ptr() -> *const uart_base::RegisterBlock {
|
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)]
|
#[inline(always)]
|
||||||
fn ptr() -> *const uart_base::RegisterBlock {
|
fn ptr() -> *const uart_base::RegisterBlock {
|
||||||
Uarta::ptr() as *const _
|
pac::Uartb::ptr() as *const _
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user