diff --git a/libraries/AP_UAVCAN/AP_UAVCAN.cpp b/libraries/AP_UAVCAN/AP_UAVCAN.cpp index 32334ad3ac..6dc4b51197 100644 --- a/libraries/AP_UAVCAN/AP_UAVCAN.cpp +++ b/libraries/AP_UAVCAN/AP_UAVCAN.cpp @@ -57,6 +57,7 @@ #include #include "AP_UAVCAN_DNA_Server.h" #include +#include #include "AP_UAVCAN_pool.h" #define LED_DELAY_US 50000 @@ -456,7 +457,9 @@ void AP_UAVCAN::loop(void) notify_state_send(); send_parameter_request(); send_parameter_save_request(); - AP::uavcan_dna_server().verify_nodes(this); +#if AP_OPENDRONEID_ENABLED + AP::opendroneid().dronecan_send(this); +#endif } }