Does watchdog_feed_events need to be declared as volatile? If so, could you explain why?
It does not have to be volatile if :
The volatile
only informs the compiler that the object is side effects prone and it has to be read from its permanent storage before every read and saved after every modification.