diff src/menu_processor.asm @ 169:dcf3e08f31ac

CHANGE: Improve internal logbook usability
author heinrichsweikamp
date Mon, 29 Sep 2014 22:26:47 +0200
parents 53409476a05f
children d097e10b383b
line wrap: on
line diff
--- a/src/menu_processor.asm	Mon Sep 29 12:03:26 2014 +0200
+++ b/src/menu_processor.asm	Mon Sep 29 22:26:47 2014 +0200
@@ -96,7 +96,17 @@
 		bcf		PORTC,2					; Pull PWM out to GND
 		call    TFT_ClearScreen
         rcall   menu_processor_title
+        rcall   menu_processor_bottom_line
 
+menu_processor1:
+		movlw	FT_SMALL
+        movff	WREG, win_font    
+        
+        ;---- Select menu type -----------------------------------------------
+        bra     menu_vertical
+
+    global menu_processor_bottom_line
+menu_processor_bottom_line:
         ;---- Draw bottomline ------------------------------------------------
         TEXT_TINY 	.5,       .240-.16, tNext
         TEXT_TINY	.160-6*5, .240-.16, tEnter
@@ -110,13 +120,7 @@
         call    TFT_cat_firmware
         STRCAT_PRINT ""
         call    TFT_standard_color
-
-menu_processor1:
-		movlw	FT_SMALL
-        movff	WREG, win_font    
-        
-        ;---- Select menu type -----------------------------------------------
-        bra     menu_vertical
+        return
 
 ;=============================================================================
 ; (re-)draw menu title.