| 如下面所示一小段代码,用MPLAB软仿的时候竟然进不去,提示不执行,什么原因? 
 void AD5662_reg_write(unsigned int En_DA_Num, unsigned int Mode, unsigned int RegisterData)
{
    unsigned long ControlValue = 1;
//    unsigned int i = 0;
        
        //Create the 24-bit 
        Mode = Mode + 0x01;
            ControlValue++;
编译提示为_ControlValue" is not used,就是说没有执行
 
 这两条语句,这是什么原因导致的呢?Mode = Mode + 0x01;
ControlValue++;
 
 |