From e194a1136d6c611c7e9cfdc6046bfd159e9d81ec Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 28 Jun 2013 17:53:00 +0000 Subject: fixed fix of last night.... git-svn-id: https://svn.spreadspace.org/mur.sat@796 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/ihu/i2c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/ihu/i2c.inc b/software/ihu/i2c.inc index 072d01d..b23ad67 100644 --- a/software/ihu/i2c.inc +++ b/software/ihu/i2c.inc @@ -30,10 +30,10 @@ ;; ------------------------------------- i2c_init - movlw I2C_MASK ; as every write access is read-update-write this needs + movlw ~I2C_MASK ; as every write access is read-update-write this needs andwf I2C_PORT,f ; to be done in one step (external pull-ups!) bsf STATUS,RP0 - movlw ~I2C_MASK + movlw I2C_MASK iorwf I2C_PORT,f bcf STATUS,RP0 return -- cgit v1.2.3