mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
shorten boot wait
This commit is contained in:
parent
a0aeaae106
commit
7ebfdf3ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ pub fn early_init() {
|
||||||
let duart = utra::duart::HW_DUART_BASE as *mut u32;
|
let duart = utra::duart::HW_DUART_BASE as *mut u32;
|
||||||
// ~2 second delay for debugger to attach
|
// ~2 second delay for debugger to attach
|
||||||
let msg = b"boot\n\r";
|
let msg = b"boot\n\r";
|
||||||
for j in 0..10_000 {
|
for j in 0..5_000 {
|
||||||
// variable count of .'s to create a sense of motion on the console
|
// variable count of .'s to create a sense of motion on the console
|
||||||
for _ in 0..j & 0x7 {
|
for _ in 0..j & 0x7 {
|
||||||
while duart.add(utra::duart::SFR_SR.offset()).read_volatile() != 0 {}
|
while duart.add(utra::duart::SFR_SR.offset()).read_volatile() != 0 {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue