|
#ifndef CONF_SERCOM_0_USART_BAUD
//#define CONF_SERCOM_0_USART_BAUD 9600
#if (*(__IO uint8_t*)(((uint32_t)0x44000000))==0x01)
#define CONF_SERCOM_0_USART_BAUD 2400
#elif (*(__IO uint8_t*)(SEEPROM_ADDR+15)==0x02
#define CONF_SERCOM_0_USART_BAUD 4800
#elif (*(__IO uint8_t*)(SEEPROM_ADDR+15)==0x03
#define CONF_SERCOM_0_USART_BAUD 9600
#elif (*(__IO uint8_t*)(SEEPROM_ADDR+15)==0x04
#define CONF_SERCOM_0_USART_BAUD 115200
#else
#define CONF_SERCOM_0_USART_BAUD 2400
#endif
#endif
这种定义方式为什么报错啊 “operator '*' has no left operand”这是错误信息
|
|