typedef struct {
uint8_t lowsel;
uint8_t highsel;
} hl;
hl HighLowSel[16] = {{0x07,0x00},{0x06,0x00},{0x05,0x00},{0x04,0x00},
{0x03,0x00},{0x02,0x00},{0x01,0x00},{0x00,0x00},
{0x07,0x01},{0x06,0x01},{0x05,0x01},{0x04,0x01},
{0x03,0x01},{0x02,0x01},{0x01,0x01},{0x00,0x01}};
編譯提示出錯
.\Obj\Project.axf: Error: L6200E: Symbol HighLowSel multiply defined (by board.o and main.o).
請教,如何修改
HighLowSel 重復定義了,看看 board and main 兩個模塊吧