From 8bd4ec7b8474fcfce5c4441131f841175d62e0b0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 4 Jan 2012 11:19:31 +0000 Subject: Removed two initializations that should go in the low level. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3727 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c index 42481a2fd..66b01e0f3 100644 --- a/os/hal/src/i2c.c +++ b/os/hal/src/i2c.c @@ -77,8 +77,6 @@ void i2cObjectInit(I2CDriver *i2cp) { i2cp->state = I2C_STOP; i2cp->config = NULL; - i2cp->rxbuf = NULL; - i2cp->thread = NULL; #if I2C_USE_MUTUAL_EXCLUSION #if CH_USE_MUTEXES -- cgit v1.2.3