diff code_part1/OSTC_code_asm_part1/display_lowlevel.asm @ 708:71bb907d0ce5

brightness settings for display1
author heinrichsweikamp
date Mon, 06 May 2013 09:49:18 +0200
parents 2129862bbfe6
children 8c293e76a517
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/display_lowlevel.asm	Wed Apr 17 19:52:08 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/display_lowlevel.asm	Mon May 06 09:49:18 2013 +0200
@@ -1031,6 +1031,7 @@
 	bra		DISP_brightness_full_high
 ; Mid
     bsf     PORTB,7
+    nop
     bcf     PORTB,6
 
     movff   win_flags,WREG          ; Display1? win_flags is in bank0...
@@ -1049,6 +1050,7 @@
 DISP_brightness_full_high:
 ; Full
     bsf     PORTB,7
+    nop
     bsf     PORTB,6
 
     movff   win_flags,WREG          ; Display1? win_flags is in bank0...
@@ -1067,6 +1069,7 @@
 DISP_brightness_low:
 ;Low
     bcf     PORTB,7
+    nop
     bcf     PORTB,6
     movff   win_flags,WREG          ; Display1? win_flags is in bank0...
     btfsc   WREG,1                  ; Display1?