AnsweredAssumed Answered

hello~!when i see the code of mqx. i see the code follow:

Question asked by Li Tao on Dec 9, 2013
Latest reply on Dec 20, 2013 by David E Seymour
*(volatile pointer*) kernel_data = (pointer) & _mqx_version_number;
*(volatile pointer*) kernel_data = (pointer) & _mqx_vendor;

does the code equal   follows?

*(volatile pointer*) kernel_data = (pointer) & _mqx_vendor;

the code   *(volatile pointer*) kernel_data = (pointer) & _mqx_version_number;    doesn't used?

上面
两句连着的代码,什么意思,左边的地址是一样的。是不是代表两句话只有最后一句代码是有效的?。求解释?

Outcomes