fix hosted mode

This commit is contained in:
bunnie 2026-03-31 00:22:36 +08:00
parent 65b2040cdf
commit 97efc2a162

View file

@ -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) {