mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
apply more autoformat. Why did that not trigger on save?
This commit is contained in:
parent
8414f08aae
commit
c6a0f7f629
1 changed files with 4 additions and 4 deletions
|
|
@ -296,9 +296,9 @@ impl SwapHal {
|
||||||
let d = trng.get_raw();
|
let d = trng.get_raw();
|
||||||
for b in d.to_le_bytes() {
|
for b in d.to_le_bytes() {
|
||||||
unsafe {
|
unsafe {
|
||||||
while duart.add(utralib::generated::utra::duart::SFR_SR.offset()).read_volatile() != 0
|
while duart.add(utralib::generated::utra::duart::SFR_SR.offset()).read_volatile()
|
||||||
{
|
!= 0
|
||||||
}
|
{}
|
||||||
duart
|
duart
|
||||||
.add(utralib::generated::utra::duart::SFR_TXD.offset())
|
.add(utralib::generated::utra::duart::SFR_TXD.offset())
|
||||||
.write_volatile(b as char as u32);
|
.write_volatile(b as char as u32);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue