diff src/i2c.asm @ 564:54346c651b6a

bring digital S8 HUD back to life...
author heinrichsweikamp
date Mon, 05 Feb 2018 17:59:55 +0100
parents b7eb98dbd800
children 0ba88db66492
line wrap: on
line diff
--- a/src/i2c.asm	Sat Feb 03 17:02:23 2018 +0100
+++ b/src/i2c.asm	Mon Feb 05 17:59:55 2018 +0100
@@ -1067,30 +1067,6 @@
 
 	global	I2C_get_tankdata
 I2C_get_tankdata:
-;    
-;	movlw	.1
-;	movff	WREG,rx_buffer+0
-;	movlw	.125
-;	movff	WREG,rx_buffer+1
-;	movlw	HIGH	.1500
-;	movff	WREG,rx_buffer+2
-;	movlw	LOW	.1500		; 150,0bar
-;	movff	WREG,rx_buffer+3
-;
-;	movlw	.1
-;	movff	WREG,rx_buffer+6
-;	movlw	.140
-;	movff	WREG,rx_buffer+7
-;	movlw	HIGH	.2251
-;	movff	WREG,rx_buffer+8
-;	movlw	LOW	.2251		; 225,1bar
-;	movff	WREG,rx_buffer+9
-;
-;	
-;    
-;	return	;mH
-    
-    
     	bsf	SSP1CON2,SEN		; Start condition
 	rcall	WaitMSSP
     	movlw	0x50			; Address byte + Write bit