Mercurial > public > hwos_code
diff src/start.asm @ 165:9b82239fa062
testing consumption
author | heinrichsweikamp |
---|---|
date | Thu, 11 Sep 2014 15:41:48 +0200 |
parents | 5f71e31bd5b3 |
children | 669b5d00706d |
line wrap: on
line diff
--- a/src/start.asm Wed Sep 10 16:13:16 2014 +0200 +++ b/src/start.asm Thu Sep 11 15:41:48 2014 +0200 @@ -272,6 +272,10 @@ btfss neg_flag ; Result negative (Ambient>880mbar)? bsf high_altitude_mode ; No, Set Flag! + btfss c3_hardware + bsf TRISB,3 + btfss c3_hardware + bsf TRISG,0 call ext_flash_disable_protection ; Disable write protection for external flash bsf flip_screen ; Flip 180°