Mercurial > public > hwos_code
diff src/tft.asm @ 640:8c1f1f334275
3.13 release
author | heinrichsweikamp |
---|---|
date | Thu, 29 Oct 2020 09:29:15 +0100 |
parents | 2737ddc643bb |
children | 070528a88715 |
line wrap: on
line diff
--- a/src/tft.asm Mon Aug 10 15:34:38 2020 +0200 +++ b/src/tft.asm Thu Oct 29 09:29:15 2020 +0100 @@ -231,8 +231,8 @@ clrf PORTH RD_L ; LOW RS_L ; LOW - bcf tft_nwr - bcf tft_cs + WR_L + NCS_L bcf tft_nreset bsf tft_power ; inverted... return @@ -550,7 +550,7 @@ movff max_CCPR1L,PRODL bsf tft_is_dimming ; TFT is dimming, ignore ambient sensor btfsc screen_type3 - bra TFT_Display_FadeOut_1 + return ; Do not fade out screen type 3 TFT_Display_FadeOut_0: movff PRODL,CCPR1L ; duty cycle WAITMS d'1'