diff src/mcp.asm @ 634:4050675965ea

3.10 stable release
author heinrichsweikamp
date Tue, 28 Apr 2020 17:34:31 +0200
parents 237931377539
children 75e90cd0c2c3
line wrap: on
line diff
--- a/src/mcp.asm	Thu Mar 05 15:06:14 2020 +0100
+++ b/src/mcp.asm	Tue Apr 28 17:34:31 2020 +0200
@@ -1,6 +1,6 @@
 ;=============================================================================
 ;
-;   File mcp.asm                              combined next generation V3.06.1
+;   File mcp.asm                            * combined next generation V3.06.1
 ;
 ;   Basic routines for RX circuity
 ;
@@ -13,18 +13,23 @@
 #include "hwos.inc"
 #include "wait.inc"
 
-mcp	code
 
 ;=============================================================================
+mcp		code
+;=============================================================================
 
+
+;-----------------------------------------------------------------------------
+; Disable IR Receiver
+;
 	global	mcp_sleep
 mcp_sleep:
 	bcf		INTCON3,INT3IE			; disable INT3
-	bcf		mcp_power				; request IR receiver off
-	btfsc	mcp_power				; off confirmed?
+	bcf		mcp_power				; power down IR receiver
+	btfsc	mcp_power				; power drained down?
 	bra		$-6						; NO  - loop waiting
 	return							; YES - done
 
-;=============================================================================
+;-----------------------------------------------------------------------------
 
 	END