From 4c53946de9c068b07dcb5fb643c270dc608fe179 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 17 Aug 2008 18:33:48 +0000 Subject: [PATCH] menu: re-enable harvard specific optimizationn that was commented out, but seems harmless git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1657 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/gui/menu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bertos/gui/menu.c b/bertos/gui/menu.c index 146b3c1f..6874e3c4 100644 --- a/bertos/gui/menu.c +++ b/bertos/gui/menu.c @@ -168,9 +168,7 @@ static void menu_defaultRenderHook(struct Bitmap *bm, int ypos, bool selected, c } } -#warning FIXME:REVISE this code! -#if 0 -//#if CPU_HARVARD +#if CPU_HARVARD ((item->flags & MIF_RAMLABEL) ? text_xyprintf : text_xyprintf_P) #else text_xyprintf -- 2.25.1