|
@@ -190,10 +190,10 @@ connected
|
|
|
movwf CCPR1L
|
|
|
|
|
|
; Check if the diode is OK
|
|
|
- call read_cp_low ; Check the diode
|
|
|
- sublw 3
|
|
|
- btfsc STATUS, Z ; The return value must be 3, otherwise go back to enter.
|
|
|
- goto enter
|
|
|
+; call read_cp_low ; Check the diode
|
|
|
+; sublw 3
|
|
|
+; btfss STATUS, Z ; The return value must be 3, otherwise go back to enter.
|
|
|
+; goto enter
|
|
|
|
|
|
; Check the S2 state of the vehicle
|
|
|
call read_cp_high
|