mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_HAL_AVR: HAL_AVR initializes rcin and rcout
This commit is contained in:
parent
776a1074c9
commit
ec0fddd49a
@ -3,6 +3,13 @@
|
|||||||
using namespace AP_HAL_AVR;
|
using namespace AP_HAL_AVR;
|
||||||
|
|
||||||
void HAL_AVR::init(void* opts) const {
|
void HAL_AVR::init(void* opts) const {
|
||||||
|
|
||||||
scheduler->init();
|
scheduler->init();
|
||||||
|
|
||||||
|
/* The AVR RCInput drivers take an AP_HAL_AVR::ISRRegistry*
|
||||||
|
* as the init argument */
|
||||||
|
rcin->init((void*)&isr_registry);
|
||||||
|
|
||||||
|
rcout->init(NULL);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user