Commit Graph

7 Commits

Author SHA1 Message Date
rmackay9 56320d282f AP_PeriodicProcess: added running() method which tells the caller whether the timer is suspended or not 2012-09-29 13:47:55 +09:00
rmackay9 b1b3b806ad AP_PeriodicProcess: queue_process changes to suspend other processes before running queued process
Also restored suspend_timer to void return type
2012-09-10 11:37:58 +09:00
uncrustify c4059511cb uncrustify libraries/AP_PeriodicProcess/PeriodicProcess.h 2012-08-21 19:04:10 -07:00
Andrew Tridgell 57ac39649a TimerProcess: added suspend_timer()/resume_timer()
this will be used to avoid races in driver initialisation
2012-05-01 12:06:54 +10:00
Andrew Tridgell 8cc2b7669b PeriodicProcess: added set_failsafe() call
this adds an optional failsafe function that will be called in the
timer loop
2011-12-21 23:31:38 +11:00
Pat Hickey a7b9c8b9cd AP_PeriodicProcess: AP_TimerProcess can register multiple callbacks. 2011-12-11 15:21:10 -08:00
Pat Hickey 7474a8be53 purple: added PeriodicProcess library
this library provides a clean API for drivers to request periodic
timer driven calls at whatever rate they need
2011-11-25 20:00:16 -08:00