From 53dfda13bff84a7bfd1b94bf8becb7f9d7107394 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 22 Jan 2021 01:36:36 +0800 Subject: [PATCH] test shell with the usize->u32 changes --- services/shell/src/main.rs | 2 +- xtask/src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/shell/src/main.rs b/services/shell/src/main.rs index 54ca9c2db..990136ee3 100644 --- a/services/shell/src/main.rs +++ b/services/shell/src/main.rs @@ -274,7 +274,7 @@ fn shell_main() -> ! { last_time as f32 / 1000f32 ) .expect("Can't write"); - status_cursor.pt.x = 4; status_cursor.pt.y = small_font_h; + status_cursor.pt.x = 4; status_cursor.pt.y = small_font_h as u32; graphics_server::draw_string(graphics_conn, &string_buffer).expect("unable to draw string"); // a line under the status area diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 653ae2caa..a10d33635 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -79,8 +79,8 @@ fn build_hw_image(debug: bool, svd: Option) -> Result<(), DynError> { let kernel = build_kernel(debug)?; let mut init = vec![]; for pkg in &[ - //"shell", - "gam", + "shell", + //"gam", "graphics-server", "ticktimer-server", "log-server",