mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
this patch fixes the previous commit's panic
This commit is contained in:
parent
a404e4ae61
commit
812fbf5d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -203,6 +203,7 @@ fn shell_main() -> ! {
|
||||||
|
|
||||||
info!("SHELL: 1");
|
info!("SHELL: 1");
|
||||||
let mut string_buffer = String::new(4096);
|
let mut string_buffer = String::new(4096);
|
||||||
|
let mut input_buf = String::new(4096);
|
||||||
graphics_server::set_glyph_style(graphics_conn, GlyphStyle::Small)
|
graphics_server::set_glyph_style(graphics_conn, GlyphStyle::Small)
|
||||||
.expect("unable to set glyph");
|
.expect("unable to set glyph");
|
||||||
let (_, font_h) = graphics_server::query_glyph(graphics_conn).expect("unable to query glyph");
|
let (_, font_h) = graphics_server::query_glyph(graphics_conn).expect("unable to query glyph");
|
||||||
|
|
@ -228,7 +229,6 @@ fn shell_main() -> ! {
|
||||||
|
|
||||||
info!("SHELL: 3");
|
info!("SHELL: 3");
|
||||||
let mut last_time: u64 = ticktimer_server::elapsed_ms(ticktimer_conn).unwrap();
|
let mut last_time: u64 = ticktimer_server::elapsed_ms(ticktimer_conn).unwrap();
|
||||||
let mut input_buf = String::new(4096);
|
|
||||||
loop {
|
loop {
|
||||||
//////////////// status bar
|
//////////////// status bar
|
||||||
graphics_server::set_glyph_style(graphics_conn, GlyphStyle::Small)
|
graphics_server::set_glyph_style(graphics_conn, GlyphStyle::Small)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue