From ae1adbfedd2a0606df69177e631b0cb5663e69e0 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 4 Jul 2023 10:32:15 +0800 Subject: [PATCH] fix template to match manual patch-ups on config flags --- .../graphics-server/src/blitstr2/codegen/lib/templates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/graphics-server/src/blitstr2/codegen/lib/templates.go b/services/graphics-server/src/blitstr2/codegen/lib/templates.go index 7ba9c5e7a..e9bdc28e1 100644 --- a/services/graphics-server/src/blitstr2/codegen/lib/templates.go +++ b/services/graphics-server/src/blitstr2/codegen/lib/templates.go @@ -130,11 +130,11 @@ pub(crate) fn glyphs() -> &'static [u32] { core::slice::from_raw_parts(data, GLYPH_LEN) } - #[cfg(any(feature="precursor", feature="renode"))] + #[cfg(not(target_os = "xous"))] &GLYPHS } -#[cfg(any(feature="precursor", feature="renode"))] +#[cfg(not(target_os = "xous"))] /// Packed 16px * 16px glyph pattern data. /// Pixels are packed in row-major order with LSB of first pixel word /// containing the top left pixel. Bit of 0 means clear, 1 means set