diff src/compass_ops.asm @ 337:508d7fb98b34

cleanup menu, add "Auto SP" option (Not working yet), minor layout change in compass menu
author heinrichsweikamp
date Sun, 28 Jun 2015 13:58:00 +0200
parents 5ad479f2a868
children 67e631aa5b8c
line wrap: on
line diff
--- a/src/compass_ops.asm	Sun Jun 28 05:05:46 2015 +0200
+++ b/src/compass_ops.asm	Sun Jun 28 13:58:00 2015 +0200
@@ -33,6 +33,8 @@
     extern  compass_add_calibration
     extern  compass_solve_calibration
 
+    extern  menu_processor_bottom_line
+
 compass_ops code
 ;-----------------------------------------------------------------------------
 ; Filter compass values
@@ -196,7 +198,9 @@
     WIN_COLOR   color_greenish
 	WIN_SMALL	.16,.0
 	STRCPY_TEXT_PRINT	tCompassMenu
-    btfss		switch_right2           ; wait until button is released
+
+    call    menu_processor_bottom_line
+    btfss		switch_right2           ; wait until right button is released
     bra         $-4
 
     call	TFT_standard_color