Mercurial > public > hwos_code
changeset 10:55dfc8f6093f
sensor status on power-on reset
author | heinrichsweikamp |
---|---|
date | Thu, 16 May 2013 14:48:32 +0200 |
parents | 150d07db6048 |
children | 04794990b619 |
files | src/start.asm |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/start.asm Wed May 15 11:57:44 2013 +0200 +++ b/src/start.asm Thu May 16 14:48:32 2013 +0200 @@ -59,6 +59,8 @@ banksel common ; get_calibration_data uses isr_backup bcf no_sensor_int ; normal sensor interrupt mode + call TFT_DisplayOff ; display off + bsf LEDr ; Status LED bcf pressure_refresh ; First pass will not have valid temperature! btfss pressure_refresh ; Air pressure compensation @@ -67,6 +69,7 @@ bcf pressure_refresh btfss pressure_refresh ; Air pressure compensation bra $-2 + bcf LEDr clrf rel_pressure+0 clrf rel_pressure+1