I am using a global variable called i2c_process_wait_delay. This variable is used in a while loop condition, and at that time, the value of the variable is zero (0). However, the program pauses at the while loop condition, even though I set the optimization level to 'NO'. More details PFA..
i2c_process_wait_delay
while
Thanks in Advance.