Page 1 of 1

Why "error: timer used in more than one case"

Posted: Sat May 09, 2020 5:20 pm
by aclassifier
Why is this error message necessary?

Code: Select all

error: timer used in more than one case
If I make two timerafter in two cases then they need to be modeled as being two distinct timers.

However, I get the same amount of HW timers being used. So, they are mapped to the same HW timer? Why then, the above requirement?

Plus, logically for me, it's the timerafter values that count, the timer is just some logical idea bearer in this concrete situation(?)