2012-12-17 15:54:55 -04:00
|
|
|
|
|
|
|
#include "Scheduler.h"
|
|
|
|
|
2015-10-22 14:15:05 -03:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2012-12-17 15:54:55 -04:00
|
|
|
using namespace Empty;
|
|
|
|
|
2012-12-17 20:28:22 -04:00
|
|
|
extern const AP_HAL::HAL& hal;
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
Scheduler::Scheduler()
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::init()
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::delay(uint16_t ms)
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::delay_microseconds(uint16_t us)
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::register_delay_callback(AP_HAL::Proc k,
|
2012-12-17 15:54:55 -04:00
|
|
|
uint16_t min_time_ms)
|
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::register_timer_process(AP_HAL::MemberProc k)
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::register_io_process(AP_HAL::MemberProc k)
|
2013-09-22 03:00:15 -03:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::register_timer_failsafe(AP_HAL::Proc, uint32_t period_us)
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::suspend_timer_procs()
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::resume_timer_procs()
|
2012-12-17 15:54:55 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::system_initialized()
|
2013-01-10 17:50:42 -04:00
|
|
|
{}
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
void Scheduler::reboot(bool hold_in_bootloader) {
|
2012-12-17 15:54:55 -04:00
|
|
|
for(;;);
|
|
|
|
}
|