test shell with the usize->u32 changes

This commit is contained in:
bunnie 2021-01-22 01:36:36 +08:00
parent 22ed00f0d8
commit 53dfda13bf
2 changed files with 3 additions and 3 deletions

View file

@ -274,7 +274,7 @@ fn shell_main() -> ! {
last_time as f32 / 1000f32 last_time as f32 / 1000f32
) )
.expect("Can't write"); .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"); graphics_server::draw_string(graphics_conn, &string_buffer).expect("unable to draw string");
// a line under the status area // a line under the status area

View file

@ -79,8 +79,8 @@ fn build_hw_image(debug: bool, svd: Option<String>) -> Result<(), DynError> {
let kernel = build_kernel(debug)?; let kernel = build_kernel(debug)?;
let mut init = vec![]; let mut init = vec![];
for pkg in &[ for pkg in &[
//"shell", "shell",
"gam", //"gam",
"graphics-server", "graphics-server",
"ticktimer-server", "ticktimer-server",
"log-server", "log-server",