comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 722:c6d57bed1ba0

button behaviour during dive mode
author heinrichsweikamp
date Mon, 27 May 2013 11:00:32 +0200
parents 4452837aff37
children ae641bcb0d02
comparison
equal deleted inserted replaced
721:a5d44fb115a8 722:c6d57bed1ba0
192 bra diveloop_loop4 ; YES: don't sleep 192 bra diveloop_loop4 ; YES: don't sleep
193 193
194 btfsc menubit ; Sleep only with inactive menu... 194 btfsc menubit ; Sleep only with inactive menu...
195 bra diveloop_loop5 195 bra diveloop_loop5
196 196
197 bcf T0CON,TMR0ON ; Stop Timer0 before sleep
198 nop
197 sleep 199 sleep
198 nop 200 nop
199 bra diveloop_loop ; Loop the divemode 201 bra diveloop_loop ; Loop the divemode
200 202
201 diveloop_loop4: ; And test screen dumps too! 203 diveloop_loop4: ; And test screen dumps too!