Mercurial > public > mk2
comparison 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 |
comparison
equal
deleted
inserted
replaced
473:0ff08e0e5f70 | 474:c083f5b9168c |
---|---|
68 ; Startup tasks for all modes | 68 ; Startup tasks for all modes |
69 clrf timeout_counter2 | 69 clrf timeout_counter2 |
70 clrf timeout_counter3 | 70 clrf timeout_counter3 |
71 bcf premenu ; clear premenu flag | 71 bcf premenu ; clear premenu flag |
72 bcf menubit ; clear menu flag | 72 bcf menubit ; clear menu flag |
73 clrf timer1int_counter2 ; reset state counter | |
73 bcf pressure_refresh | 74 bcf pressure_refresh |
74 clrf last_pressure+0 | 75 clrf last_pressure+0 |
75 clrf last_pressure+1 | 76 clrf last_pressure+1 |
76 clrf last_temperature+0 | 77 clrf last_temperature+0 |
77 clrf last_temperature+1 | 78 clrf last_temperature+1 |