From: ian Date: Thu, 29 Dec 2005 03:41:39 +0000 (+0000) Subject: do not spuriously mess with User Fault pin instead of RC3 and RC4 (I2C clock and... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=6295e040176088e22b17e0d18a77f6af1a829dec;p=trains.git do not spuriously mess with User Fault pin instead of RC3 and RC4 (I2C clock and data) --- diff --git a/detpic/i2clib.asm b/detpic/i2clib.asm index 7b05905..777f3d9 100644 --- a/detpic/i2clib.asm +++ b/detpic/i2clib.asm @@ -401,8 +401,8 @@ init_enable set_f sspcon1 set_f sspcon2 set_f st_orig - bs_f TRISB, 0 - bs_f TRISB, 1 + bs_f TRISC, 3 + bs_f TRISC, 4 bs_f SSPCON1, SSPEN bs_f PIE1, SSPIE return