Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 474:c083f5b9168c
Reset sensor state when waking up
author | heinrichsweikamp |
---|---|
date | Sun, 09 Oct 2011 22:12:09 +0200 |
parents | f53aa96ff2f4 |
children | 8e1fb9cdd62a |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm Sun Oct 09 17:38:41 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/surfmode.asm Sun Oct 09 22:12:09 2011 +0200 @@ -70,6 +70,7 @@ clrf timeout_counter3 bcf premenu ; clear premenu flag bcf menubit ; clear menu flag + clrf timer1int_counter2 ; reset state counter bcf pressure_refresh clrf last_pressure+0 clrf last_pressure+1