diff src/hwos.asm @ 627:bf5fee575701

minor cleanup, reset rx circuity
author heinrichsweikamp
date Sun, 30 Jun 2019 23:22:32 +0200
parents 7bdcc591196c
children cd58f7fc86db
line wrap: on
line diff
--- a/src/hwos.asm	Thu Jun 13 10:07:55 2019 +0200
+++ b/src/hwos.asm	Sun Jun 30 23:22:32 2019 +0200
@@ -198,9 +198,9 @@
 ;	movlw	b'00000000'			; init port
 	clrf	PORTD
 
-;	movlw	b'00000000'			; 1= input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> set to 1 for cR hardware
-	clrf	TRISE
-	movlw	b'00110001'			; init port
+	movlw	b'00100000'			; 1= input, RE0 -> NPOWER_BLE, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> leave as input
+	movwf	TRISE
+	movlw	b'00010001'			; init port
 	movwf	PORTE
 
 	movlw	b'01111110'			; 1= input, (RF1, RF2, RF3, RF4, RF5) -> Analog