Parsing Two pointers by Using mgos_set Timer()

  1. My goal is: Passing two pointer two function from mgos_set_timer() or alternative for it.

  2. My actions are: AS i am using two devices i want i want two pas two pointer to my function but timer set accepts only one function with one pointer.

  3. The result I see is: to alternative to this i am using while(1) but it enabling WDT so help me for alternative or any solution.

Define struct with two pointers and pass a pointer to it.