Mercurial > public > hwos_code
comparison src/isr.asm @ 357:36bd27f42362
BUGFIX: Auto-Brightness clipped to lowest settings in bright sunlight on some devices
author | heinrichsweikamp |
---|---|
date | Sun, 02 Aug 2015 16:52:31 +0200 |
parents | cf929551d31c |
children | 7faa688db105 |
comparison
equal
deleted
inserted
replaced
356:fcf3ae0fee6a | 357:36bd27f42362 |
---|---|
499 movf max_CCPR1L,W | 499 movf max_CCPR1L,W |
500 sublw ambient_light_min_eco | 500 sublw ambient_light_min_eco |
501 cpfsgt CCPR1L ; CCPR1L>max_CCPR1L-ambient_light_min_eco? | 501 cpfsgt CCPR1L ; CCPR1L>max_CCPR1L-ambient_light_min_eco? |
502 bra isr_dimm_tft3 ; No, dimm up slow | 502 bra isr_dimm_tft3 ; No, dimm up slow |
503 ; dimm up faster | 503 ; dimm up faster |
504 movlw .5 | 504 movlw .10 |
505 addwf CCPR1L,F | 505 addwf CCPR1L,F |
506 isr_dimm_tft3: | 506 isr_dimm_tft3: |
507 incf CCPR1L,F ; +1 | 507 incf CCPR1L,F ; +1 |
508 return | 508 return |
509 | 509 |