You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
482 B
21 lines
482 B
13 years ago
|
|
||
|
#ifndef __AP_HAL_AVR_SCHEDULER_H__
|
||
|
#define __AP_HAL_AVR_SCHEDULER_H__
|
||
|
|
||
|
#include <AP_HAL.h>
|
||
|
#include "AP_HAL_AVR_Namespace.h"
|
||
|
|
||
|
class AP_HAL_AVR::ArduinoScheduler : public AP_HAL::Scheduler {
|
||
|
public:
|
||
|
ArduinoScheduler() {}
|
||
|
/* AP_HAL::Scheduler methods */
|
||
|
void init();
|
||
|
void delay(unsigned long ms);
|
||
|
unsigned long millis();
|
||
|
unsigned long micros();
|
||
|
void delayMicroseconds(unsigned int us);
|
||
|
};
|
||
|
|
||
|
#endif // __AP_HAL_AVR_SCHEDULER_H__
|
||
|
|