forked from Imagelibrary/rtems
2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix warnings.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user