comparison code_part1/OSTC_code_asm_part1/altimeter.asm @ 576:ab2686087bce

faster font display, code cleaning
author heinrichsweikamp
date Sun, 22 Apr 2012 14:38:10 +0200
parents 6e57b5bb98ce
children 6e456a6398e0
comparison
equal deleted inserted replaced
575:cbdcbbc91877 576:ab2686087bce
298 bcf leftbind 298 bcf leftbind
299 STRCAT_PRINT TXT_METER5 299 STRCAT_PRINT TXT_METER5
300 300
301 alt_menu_loop: 301 alt_menu_loop:
302 call PLED_menu_cursor ; Display cursor 302 call PLED_menu_cursor ; Display cursor
303 bcf switch_left ; reset buttons state 303 call wait_switches ; Waits until switches are released, resets flag if button stays pressed!
304 bcf switch_right
305 304
306 alt_menu_loop1: ; Wait for button. 305 alt_menu_loop1: ; Wait for button.
307 btfsc uart_dump_screen ; Asked to dump screen contains ? 306 btfsc uart_dump_screen ; Asked to dump screen contains ?
308 call dump_screen ; Yes! 307 call dump_screen ; Yes!
309 308