2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* libi2c/libi2c.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2009-08-16 15:15:01 +00:00
parent e958d79b33
commit 400a04a200
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix warnings.
2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios_baud2num.c: B134 should return 134 not 135.

View File

@@ -112,12 +112,12 @@ static struct i2cbus
volatile rtems_id mutex; /* lock this across start -> stop */
volatile bool started;
char *name;
} busses[MAX_NO_BUSSES] = { { 0, 0, 0, 0, 0 } };
} busses[MAX_NO_BUSSES] = { { NULL, RTEMS_ID_NONE, false, NULL } };
static struct
{
rtems_libi2c_drv_t *drv;
} drvs[MAX_NO_DRIVERS] = { { 0 } };
} drvs[MAX_NO_DRIVERS] = { { NULL } };
static rtems_id libmutex = RTEMS_ID_NONE;