Mercurial > public > hwos_code
diff src/divemode.asm @ 86:3bbbfab9818f
CHANGE: No warning sign for selected aGF
CHANGE: Show battery warning sign for less then 10% battery capacity
author | heinrichsweikamp |
---|---|
date | Wed, 02 Apr 2014 09:55:01 +0200 |
parents | eb72c8865f47 |
children | c34516c99ca8 |
line wrap: on
line diff
--- a/src/divemode.asm Mon Mar 31 14:16:17 2014 +0200 +++ b/src/divemode.asm Wed Apr 02 09:55:01 2014 +0200 @@ -1303,6 +1303,7 @@ incf warning_counter,F ; increase counter call TFT_update_batt_percent_divemode ; Show percent + movff batt_percent,lo movlw color_code_battery_low+1 cpfslt lo ; return ; No warning @@ -1449,7 +1450,7 @@ warn_agf: incf warning_counter,F ; increase counter call TFT_warning_agf ; Show aGF warning - bsf warning_active ; Set Warning flag +; bsf warning_active ; Set Warning flag return