From b98d5834b492be12eb177248aeac69505217e8bb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 31 Dec 2019 08:41:18 +1100 Subject: [PATCH] AP_UAVCAN: fixed build on Linux --- libraries/AP_UAVCAN/AP_UAVCAN.h | 2 +- libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_UAVCAN/AP_UAVCAN.h b/libraries/AP_UAVCAN/AP_UAVCAN.h index 6ec2810f5e..ab2f322fcf 100644 --- a/libraries/AP_UAVCAN/AP_UAVCAN.h +++ b/libraries/AP_UAVCAN/AP_UAVCAN.h @@ -176,7 +176,7 @@ private: uavcan::Node<0> *_node; uint8_t _driver_index; - char _thread_name[9]; + char _thread_name[13]; bool _initialized; ///// SRV output ///// struct { diff --git a/libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.cpp b/libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.cpp index a76730340d..3fe1cf25d8 100644 --- a/libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.cpp +++ b/libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.cpp @@ -546,7 +546,7 @@ void trampoline_handleNodeInfo(const uavcan::ServiceCallResult