From a95afaff715dff3a90d5f48981a3531d8b522c74 Mon Sep 17 00:00:00 2001 From: Stephen Marz Date: Fri, 22 May 2020 22:10:23 -0400 Subject: [PATCH] made constants public --- risc_v/src/gpu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/risc_v/src/gpu.rs b/risc_v/src/gpu.rs index a4bfa53..c411aa0 100755 --- a/risc_v/src/gpu.rs +++ b/risc_v/src/gpu.rs @@ -52,7 +52,7 @@ pub enum CtrlType { RespErrInvalidParameter, } -const FLAG_FENCE: usize = 1 << 0; +pub const FLAG_FENCE: usize = 1 << 0; #[repr(C)] pub struct CtrlHeader { ctrl_type: CtrlType, @@ -62,7 +62,7 @@ pub struct CtrlHeader { padding: u32 } -const MAX_SCANOUTS: usize = 16; +pub const MAX_SCANOUTS: usize = 16; #[repr(C)] pub struct Rect { x: u32,