Dealing with compiler problems (over-optimizing to nonsense)
Hello.Very frequently I end up chasing problems that not suppose to be in first place.Here is example ( making 32b counter of 16b by counting overflows)volatile void Delay_ms(uint32_t ms) // delay in ms { time = 0; time_start = LPTIM2->CNT; o...