Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/dump_screen.asm @ 687:a8a36c85e031
ignore screenshots with display1 (for now)
author | heinrichsweikamp |
---|---|
date | Sat, 26 Jan 2013 16:25:19 +0100 |
parents | 6e456a6398e0 |
children |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/dump_screen.asm Sat Jan 26 14:36:26 2013 +0100 +++ b/code_part1/OSTC_code_asm_part1/dump_screen.asm Sat Jan 26 16:25:19 2013 +0100 @@ -45,7 +45,9 @@ bsf LED_blue ; LEDusb ON call rs232_wait_tx ; wait for UART - call dump_screen_0 + movff win_flags,WREG ; BEWARE: bank0 bit-test + btfss WREG,1 ; Display1? + call dump_screen_0 ; No, dump screen bcf no_sensor_int ; Restore Sensor Interrupt bcf LED_blue ; Clear led