apsua
Member level 3
Hello,
I am using CCS C. I have an interesting problem. Maybe I miss something. I am defining an array as below:
When I define the array as above, the SETTING_WAIT_LOCK_TIME_MIN index is assigned as 0x0C. And some of the rest of the indexes are also not correct. If I define the SETTING_WAIT_LOCK_TIME definition as 1, now it and the rest are assigned correctly.
What is the problem here?
Thanks.
I am using CCS C. I have an interesting problem. Maybe I miss something. I am defining an array as below:
Code:
#define SETTING_LANGUAGE_MIN 0
...
...
#define SETTING_WAIT_LOCK_TIME_MIN 0
...
...
int minConfigurations[] = {SETTING_LANGUAGE_MIN,
...,
...,
SETTING_WAIT_LOCK_TIME_MIN,
...,
...
};
When I define the array as above, the SETTING_WAIT_LOCK_TIME_MIN index is assigned as 0x0C. And some of the rest of the indexes are also not correct. If I define the SETTING_WAIT_LOCK_TIME definition as 1, now it and the rest are assigned correctly.
What is the problem here?
Thanks.