mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
point bootloader at the new logo
This commit is contained in:
parent
e157d6e242
commit
28122b764e
1 changed files with 4 additions and 5 deletions
|
|
@ -18,11 +18,10 @@ pub fn show_logo(sh1107: &mut Oled128x128) {
|
|||
crate::println!("oled test end");
|
||||
*/
|
||||
sh1107.buffer_mut().fill(0);
|
||||
for (i, b) in crate::platform::cramium::poweron_bt::LOGO_MAP.iter().enumerate() {
|
||||
for bit in 0..8 {
|
||||
if (b & (1 << (7 - bit))) != 0 {
|
||||
sh1107
|
||||
.put_pixel(Point::new((i as isize % 16) * 8 + bit, i as isize / 16), Mono::White.into());
|
||||
for (i, &word) in ux_api::bitmaps::baochip128x128::BITMAP.iter().enumerate() {
|
||||
for bit in 0..32 {
|
||||
if (b & (1 << (31 - bit))) != 0 {
|
||||
sh1107.put_pixel(Point::new((i as isize % 4) * 32 + bit, i as isize / 4), Mono::White.into());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue