在C中的Struct初始化const数组

Tho*_*mas 4 c embedded

代码段:

static struct
{
     static const unsigned char myConstArray[] =
     {
           50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
     };

     //more....
 }_SomeValues;
Run Code Online (Sandbox Code Playgroud)

这怎么可行?(抱怨说= =之后;缺少)

hmj*_*mjd 8

改成:

static struct
{
     const unsigned char myConstArray[14];

} _SomeValues =
    {
        {
           50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
        }
    };
Run Code Online (Sandbox Code Playgroud)