Fix Sparse warning about obsolete struct initializer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d4fa8d909c
commit
284b08f174
@ -132,7 +132,7 @@ struct _eeprom24c0x_t {
|
|||||||
typedef struct _eeprom24c0x_t eeprom24c0x_t;
|
typedef struct _eeprom24c0x_t eeprom24c0x_t;
|
||||||
|
|
||||||
static eeprom24c0x_t eeprom = {
|
static eeprom24c0x_t eeprom = {
|
||||||
contents: {
|
.contents = {
|
||||||
/* 00000000: */ 0x80,0x08,0x04,0x0D,0x0A,0x01,0x40,0x00,
|
/* 00000000: */ 0x80,0x08,0x04,0x0D,0x0A,0x01,0x40,0x00,
|
||||||
/* 00000008: */ 0x01,0x75,0x54,0x00,0x82,0x08,0x00,0x01,
|
/* 00000008: */ 0x01,0x75,0x54,0x00,0x82,0x08,0x00,0x01,
|
||||||
/* 00000010: */ 0x8F,0x04,0x02,0x01,0x01,0x00,0x0E,0x00,
|
/* 00000010: */ 0x8F,0x04,0x02,0x01,0x01,0x00,0x0E,0x00,
|
||||||
|
Loading…
Reference in New Issue
Block a user