mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-13 03:18:29 -04:00
16 lines
276 B
C++
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);
|
|
};
|
|
|