This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

函数形参赋值错误,不太明白。



void spixmitcommand(unsigned int command, unsigned long data, unsigned int crc)
{

使用时spixmitcommand(GO_IDLE_STATE, STUFF_BITS, INITIAL_CRC);

但是情况是INITIAL_CRC的值赋到了GO_IDLE_STATE上,不知道可能是个什么情况