HAL_Empty: updates for new scheduler API

This commit is contained in:
Andrew Tridgell 2013-09-28 16:24:39 +10:00
parent c08f29fca6
commit 6bc4a830ac
2 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@ void EmptyScheduler::register_delay_callback(AP_HAL::Proc k,
uint16_t min_time_ms)
{}
void EmptyScheduler::register_timer_process(AP_HAL::TimedProc k)
void EmptyScheduler::register_timer_process(AP_HAL::TimedProc k, void *)
{}
void EmptyScheduler::register_io_process(AP_HAL::TimedProc k)
void EmptyScheduler::register_io_process(AP_HAL::TimedProc k, void *)
{}
void EmptyScheduler::register_timer_failsafe(AP_HAL::TimedProc,

View File

@ -15,8 +15,8 @@ public:
void register_delay_callback(AP_HAL::Proc,
uint16_t min_time_ms);
void register_timer_process(AP_HAL::TimedProc);
void register_io_process(AP_HAL::TimedProc);
void register_timer_process(AP_HAL::TimedProc, void *);
void register_io_process(AP_HAL::TimedProc, void *);
void suspend_timer_procs();
void resume_timer_procs();