Mercurial > public > hwos_code
diff src/isr.asm @ 31:53a09c1b7410
BUGFIX: alternating brightness at very low ambient light
author | heinrichsweikamp |
---|---|
date | Sun, 21 Jul 2013 18:04:29 +0200 |
parents | bc6d47e801c6 |
children | ec4d8503ec45 |
line wrap: on
line diff
--- a/src/isr.asm Sun Jul 21 14:11:47 2013 +0200 +++ b/src/isr.asm Sun Jul 21 18:04:29 2013 +0200 @@ -453,8 +453,8 @@ return isr_dimm_tft2: movf max_CCPR1L,W - sublw .20 - cpfsgt CCPR1L ; CCPR1L>max_CCPR1L-20? + sublw ambient_light_min_eco + cpfsgt CCPR1L ; CCPR1L>max_CCPR1L-ambient_light_min_eco? bra isr_dimm_tft3 ; No, dimm up slow ; dimm up faster movlw .5