mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
fix bootloader regressions
This commit is contained in:
parent
3993a0dc88
commit
65b2040cdf
2 changed files with 4 additions and 3 deletions
|
|
@ -219,10 +219,10 @@ pub unsafe extern "C" fn rust_entry() -> ! {
|
||||||
// needed after reset for the display to initialize
|
// needed after reset for the display to initialize
|
||||||
if let Some(ref mut sh1107) = oled {
|
if let Some(ref mut sh1107) = oled {
|
||||||
// show the boot logo
|
// show the boot logo
|
||||||
sh1107.init();
|
sh1107.init().ok();
|
||||||
delay(100);
|
delay(100);
|
||||||
sh1107.blit_screen(&ux_api::bitmaps::baochip128x128::BITMAP);
|
sh1107.blit_screen(&ux_api::bitmaps::baochip128x128::BITMAP);
|
||||||
sh1107.draw();
|
sh1107.draw().ok();
|
||||||
delay(150);
|
delay(150);
|
||||||
} else {
|
} else {
|
||||||
delay(250);
|
delay(250);
|
||||||
|
|
@ -450,5 +450,5 @@ pub fn marquee(sh1107: &mut Oled128x128, msg: &str) {
|
||||||
bao1x_hal::sh1107::Mono::White.into(),
|
bao1x_hal::sh1107::Mono::White.into(),
|
||||||
bao1x_hal::sh1107::Mono::Black.into(),
|
bao1x_hal::sh1107::Mono::Black.into(),
|
||||||
);
|
);
|
||||||
sh1107.draw();
|
sh1107.draw().ok();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -364,6 +364,7 @@ pub fn usb_ep1_bulk_out_complete(
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
false,
|
false,
|
||||||
|
((100_000_000 / 2) / 2_000_000) as u8,
|
||||||
),
|
),
|
||||||
&iox,
|
&iox,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue