typedef struct
{
char Blank;
char aaa;
char bbbb;
}__TYPE_FLASH_IDCARD; //total 14 bytes
#if((sizeof(__TYPE_FLASH_IDCARD))%2 == 0)
#define NUM_TOTAL_IDS (UINT16)((FLASH_TOTAL_SPACE / sizeof(__TYPE_FLASH_IDCARD))-0.5)
#elif
#define NUM_TOTAL_IDS (UINT16)((FLASH_TOTAL_SPACE / (sizeof(__TYPE_FLASH_IDCARD) + 1)-0.5)
#endif
Error [1002] syntax error, '')'' expected
Error [1002] syntax error, '')'' expected
Error [1029] malformed expression in '#if'
Error [1002] syntax error, 'constant' expected
Error[1029] malformed expression in '#elif' |