ardupilot/libraries/AP_HAL_AVR/HAL_AVR.cpp
2012-12-20 14:51:20 +11:00

16 lines
276 B
C++

#include "HAL_AVR.h"
using namespace AP_HAL_AVR;
void HAL_AVR::init(void* opts) const {
scheduler->init();
/* The AVR RCInput drivers take an AP_HAL_AVR::ISRRegistry*
* as the init argument */
rcin->init((void*)&isr_registry);
rcout->init(NULL);
};