diff --git a/services/gam/src/api.rs b/services/gam/src/api.rs index 9ee51d21c..5f6d73619 100644 --- a/services/gam/src/api.rs +++ b/services/gam/src/api.rs @@ -30,9 +30,10 @@ pub struct ContentCanvasRequest { pub servername: xous::String<256>, } +#[repr(C)] #[derive(Debug, rkyv::Archive, rkyv::Unarchive, Copy, Clone)] // #[archive(derive(Copy, Clone))] -pub enum Opcode { +pub(crate) enum Opcode { // clears a canvas with a given GID ClearCanvas(Gid),