Implications of customized system firmware - Photon

Hi, I had this working as a solution to have listening mode “timeout” after a set amount of time, but then recently updated to 0.4.9 and it no longer compiles. What is the simplest way to accomplish the same thing in 0.4.9? I don’t necessarily need much deliberate system threading in my application, but would that be the only way to do this now?

Have you checked your code against the docs?

https://docs.particle.io/reference/firmware/core/#system-events

My guess is the function signature has changed, from uint32_t to int.