mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix hosted mode
This commit is contained in:
parent
65b2040cdf
commit
97efc2a162
1 changed files with 4 additions and 1 deletions
|
|
@ -237,7 +237,10 @@ impl FrameBuffer for XousDisplay {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Swaps the drawable buffer to the screen and sends it to the hardware
|
/// Swaps the drawable buffer to the screen and sends it to the hardware
|
||||||
fn draw(&mut self) { self.redraw(); }
|
fn draw(&mut self) -> Result<(), xous::Error> {
|
||||||
|
self.redraw();
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
/// Clears the drawable buffer
|
/// Clears the drawable buffer
|
||||||
fn clear(&mut self) {
|
fn clear(&mut self) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue