AP_SBusOut: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
155a1b7ec7
commit
132a93189d
@ -181,7 +181,7 @@ void AP_SBusOut::init() {
|
|||||||
sbus_frame_interval = 3700;
|
sbus_frame_interval = 3700;
|
||||||
}
|
}
|
||||||
|
|
||||||
AP_SerialManager *serial_manager = AP_SerialManager::get_instance();
|
AP_SerialManager *serial_manager = AP_SerialManager::get_singleton();
|
||||||
if (!serial_manager) {
|
if (!serial_manager) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user