# HG changeset patch # User heinrichsweikamp # Date 1368708512 -7200 # Node ID 55dfc8f6093ffe7c478ca397320c63c361aaa1f5 # Parent 150d07db60486259be20e3ebb5f1424479950514 sensor status on power-on reset diff -r 150d07db6048 -r 55dfc8f6093f src/start.asm --- 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