Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
336:1318c6cad41b | 337:508d7fb98b34 |
---|---|
30 | 30 |
31 extern compass | 31 extern compass |
32 extern compass_reset_calibration | 32 extern compass_reset_calibration |
33 extern compass_add_calibration | 33 extern compass_add_calibration |
34 extern compass_solve_calibration | 34 extern compass_solve_calibration |
35 | |
36 extern menu_processor_bottom_line | |
35 | 37 |
36 compass_ops code | 38 compass_ops code |
37 ;----------------------------------------------------------------------------- | 39 ;----------------------------------------------------------------------------- |
38 ; Filter compass values | 40 ; Filter compass values |
39 ; | 41 ; |
194 call TFT_ClearScreen | 196 call TFT_ClearScreen |
195 ; Mask | 197 ; Mask |
196 WIN_COLOR color_greenish | 198 WIN_COLOR color_greenish |
197 WIN_SMALL .16,.0 | 199 WIN_SMALL .16,.0 |
198 STRCPY_TEXT_PRINT tCompassMenu | 200 STRCPY_TEXT_PRINT tCompassMenu |
199 btfss switch_right2 ; wait until button is released | 201 |
202 call menu_processor_bottom_line | |
203 btfss switch_right2 ; wait until right button is released | |
200 bra $-4 | 204 bra $-4 |
201 | 205 |
202 call TFT_standard_color | 206 call TFT_standard_color |
203 ; WIN_SMALL .0,.215 | 207 ; WIN_SMALL .0,.215 |
204 ; STRCPY_TEXT_PRINT tExit | 208 ; STRCPY_TEXT_PRINT tExit |