The code snippet:
static struct
{
static const unsigned char myConstArray[] =
{
50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
};
//more....
}_SomeValues;
How could this work? (complains that after = a ; is missing)
Change to:
static struct
{
const unsigned char myConstArray[14];
} _SomeValues =
{
{
50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
}
};
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With