[an error occurred while processing this directive]
|
typedef struct {
u8_t a1;
u8_t a2;
u8_t a3;
u8_t a4;
u8_t a5;
u8_t a6;
} My_t;
typedef struct {
My_t a;
u8_t b;
u8_t c;
u8_t d;
u8_t e;
} STRUCT;typedef struct {
STRUCT GRP[2][4];
} STRUCT_GRP;
static STRUCT_GRP GRP = {
{
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0
},
{
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0,
{0,0,0,0,0,0}, 0, 0, 0,0
}
};
ругается "too many initializers"
как правильно?
E-mail: info@telesys.ru