mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_Volz_Protocol: move serial port init of Volz protocol into Volz library
This commit is contained in:
parent
a1f1cec40c
commit
540cca5fdd
@ -69,6 +69,9 @@ void AP_Volz_Protocol::init(void)
|
||||
return;
|
||||
}
|
||||
|
||||
// update baud param in case user looks at it
|
||||
serial_manager.set_default_baud(AP_SerialManager::SerialProtocol_Volz, 0, baudrate);
|
||||
|
||||
// Create thread to handle output
|
||||
if (!hal.scheduler->thread_create(FUNCTOR_BIND_MEMBER(&AP_Volz_Protocol::loop, void),
|
||||
"Volz",
|
||||
|
Loading…
Reference in New Issue
Block a user