mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-25 09:50:52 +00:00
9 lines
229 B
Rust
9 lines
229 B
Rust
|
|
#![cfg_attr(target_os = "none", no_std)]
|
||
|
|
|
||
|
|
pub mod api;
|
||
|
|
use xous::{CID, send_message};
|
||
|
|
|
||
|
|
pub fn set_canvas(cid: CID, g: graphics_server::Gid) -> Result<(), xous::Error> {
|
||
|
|
send_message(cid, api::Opcode::SetCanvas(g).into())?;
|
||
|
|
}
|