I've got an atcommand which calls a TimerFunc function via iTimer-> add_timer() and so. If my TimerFunc is in atcommand.c it works fine, but if I use it from pc.c it doesn't work (it doesn't call it, neither crash or debugs).
This is the call from the atcommand when the timer Function is in atcommand.c:
Hi all.
I've got an atcommand which calls a TimerFunc function via iTimer-> add_timer() and so. If my TimerFunc is in atcommand.c it works fine, but if I use it from pc.c it doesn't work (it doesn't call it, neither crash or debugs).
This is the call from the atcommand when the timer Function is in atcommand.c:
And this is how I call it when the timer function is in pc.c
Registered in pc.h as:
Thanks in advance.
Share this post
Link to post
Share on other sites