Browse Source

Swapped two lines that could in future cause a bug

finetuned 6 years ago
parent
commit
a3d6e69af4
1 changed files with 6 additions and 6 deletions
  1. 6 6
      minimalmode3.asm

+ 6 - 6
minimalmode3.asm

@@ -1,10 +1,10 @@
     list p=18f25k22
-	errorlevel -306 ; no page boundary warnings
-	errorlevel -305 ; no default destination messages
-	errorlevel -302 ; no bank 0 warnings
-	errorlevel -202 ; no 'argument out of range' warnings
+    errorlevel -306 ; no page boundary warnings
+    errorlevel -305 ; no default destination messages
+    errorlevel -302 ; no bank 0 warnings
+    errorlevel -202 ; no 'argument out of range' warnings
 
-	include <p18f25k22.inc>
+    include <p18f25k22.inc>
 
 
 ; Device configuration settings
@@ -214,8 +214,8 @@ charging
     bsf     PORTB, 4           ; Power On
     
     call    read_cp_high
-    sublw   2                   ; Still charging?
     movwf   CPSTATE
+    sublw   2                   ; Still charging?
     btfsc   STATUS, Z
     goto    charging