Mercurial > public > hwos_code
comparison src/surfmode.asm @ 133:939f1e83c4c2
BUGFIX: Surface interval was not displayed correctly in some cases
NEW: Store tissue load, date and time, surface interval, desat. time and nofly time every hour and reload them after battery change
author | heinrichsweikamp |
---|---|
date | Mon, 14 Jul 2014 15:17:07 +0200 |
parents | f3062a611eef |
children | e3ac5b2021bc |
comparison
equal
deleted
inserted
replaced
132:ec0b1e829399 | 133:939f1e83c4c2 |
---|---|
302 call TFT_clear_warning_text_2nd_row ; No, clear this row | 302 call TFT_clear_warning_text_2nd_row ; No, clear this row |
303 return ; Done. | 303 return ; Done. |
304 | 304 |
305 surfmode_check_for_interval: | 305 surfmode_check_for_interval: |
306 movf surface_interval+0,W ; Is interval null ? | 306 movf surface_interval+0,W ; Is interval null ? |
307 iorwf surface_interval+0,W | 307 iorwf surface_interval+1,W |
308 bnz surfmode_check_for_interval2 ; No | 308 bnz surfmode_check_for_interval2 ; No |
309 return | 309 return |
310 surfmode_check_for_interval2: | 310 surfmode_check_for_interval2: |
311 incf warning_counter,F ; increase counter | 311 incf warning_counter,F ; increase counter |
312 call TFT_interval | 312 call TFT_interval |