mirror of https://github.com/ArduPilot/ardupilot
SRV_Channel: text messages and more defines
This commit is contained in:
parent
1d5bf5a58a
commit
6b268173dd
|
@ -540,7 +540,7 @@ void SRV_Channels::push()
|
|||
for (uint8_t i = 0; i < can_num_drivers; i++) {
|
||||
switch (AP::can().get_driver_type(i)) {
|
||||
case AP_CANManager::Driver_Type_DroneCAN: {
|
||||
AP_DroneCAN *ap_dronecan = AP_DroneCAN::get_uavcan(i);
|
||||
AP_DroneCAN *ap_dronecan = AP_DroneCAN::get_dronecan(i);
|
||||
if (ap_dronecan == nullptr) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue