startAddr = data[step++] + data[step++]<<8;
count = data[step++] + data[step++]<<8;
IAR报这个错误:变量“step”(在第182行声明)(或通过某种间接方式得到的值)被修改了不止一次,没有插入
Warning[Pa079]: undefined behavior: variable “step” (declared at line 182) (or a value reached by some form of indirection through it) is modified more than once without an intervening
这个写法是有问题的,虽然不会报错,但是是得不到需要的结果的,因为无法确定是从开始执行还是从后面执行。