SRV_Channel: text messages and more defines

This commit is contained in:
Andrew Tridgell 2023-04-08 14:27:51 +10:00
parent 1d5bf5a58a
commit 6b268173dd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}