b0d8f43111
* I don't have an APM2.5 board I can easily connect a logic analyzer to see the traffic on the bus...
16 lines
296 B
C++
16 lines
296 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);
|
|
spi->init(NULL);
|
|
};
|
|
|