AP_UAVCAN: support OpenDroneID

This commit is contained in:
Andrew Tridgell 2022-08-06 17:27:01 +10:00
parent ed47b10e0c
commit 9ce11159b0

View File

@ -59,6 +59,7 @@
#include "AP_UAVCAN_DNA_Server.h"
#include <AP_Logger/AP_Logger.h>
#include <AP_Notify/AP_Notify.h>
#include <AP_OpenDroneID/AP_OpenDroneID.h>
#include "AP_UAVCAN_pool.h"
#define LED_DELAY_US 50000
@ -490,6 +491,9 @@ void AP_UAVCAN::loop(void)
send_parameter_request();
send_parameter_save_request();
_dna_server->verify_nodes();
#if AP_OPENDRONEID_ENABLED
AP::opendroneid().dronecan_send(this);
#endif
}
}