Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_settime.asm @ 50:c97c5514b165
1.70..
author | heinrichsweikamp |
---|---|
date | Thu, 29 Jul 2010 13:23:08 +0200 |
parents | 96a35aeda5f2 |
children | 263348f83485 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_settime.asm Wed Jul 28 15:40:03 2010 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_settime.asm Thu Jul 29 13:23:08 2010 +0200 @@ -156,7 +156,7 @@ set_time_done_loop btfss onesecupdate - bra set_time_done_loop + bra set_time_done_loop bcf onesecupdate call set_date_refresh @@ -229,23 +229,22 @@ call wait_switches ; Waits until switches are released, resets flag if button stays pressed! return - add_hours_or_minutes_or_date: bcf switch_right clrf secs btfsc set_year - bra add_year + bra add_year btfsc set_day - bra add_day + bra add_day btfsc set_month - bra add_month + bra add_month btfsc set_minutes - bra add_minutes -; Also Stunden erhöhen + bra add_minutes +; Increase hours add_hours: incf hours,F movlw d'23'