Re: Precision periodic timer using virtual timers
Posted: Wed Apr 28, 2021 8:28 pm
Giovanni wrote:Callback changes will require going through the whole code base and find all places where to adjust code.
Wouldn't the compiler give you errors for all these places when you change the callback function parameter from void* to a pointer to a virtual timer struct pointer?
If the compiler doesn't give an error, this change would be a dangerous one, as users migrating their code might overlook one function in a seldom used code path.