您好,
我在单步调试时发现,我的两个变量,TXByteCtrl--命令字节计数器, RXByteCtrl--接收字节计数器,会随机变化?比如,TXByteCtrl = 2;RXByteCtrl = 9; 用自减XXByteCtrl --去控制,减到几次后,就突然增大了,但还是可以继续--,但已经没有意义了,
请问,这是怎么回事?定义为uint8_t, int8_t, int16_t, uint16_t, 都一样,
谢谢!
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.
您好,
我在单步调试时发现,我的两个变量,TXByteCtrl--命令字节计数器, RXByteCtrl--接收字节计数器,会随机变化?比如,TXByteCtrl = 2;RXByteCtrl = 9; 用自减XXByteCtrl --去控制,减到几次后,就突然增大了,但还是可以继续--,但已经没有意义了,
请问,这是怎么回事?定义为uint8_t, int8_t, int16_t, uint16_t, 都一样,
谢谢!