From 69448c6cce01de29621d11da527ee1c16452b40d Mon Sep 17 00:00:00 2001 From: Bob Long Date: Mon, 21 Oct 2024 10:47:49 +1100 Subject: [PATCH] AP_DroneCAN: ESCStatus read error_count --- libraries/AP_DroneCAN/AP_DroneCAN.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_DroneCAN/AP_DroneCAN.cpp b/libraries/AP_DroneCAN/AP_DroneCAN.cpp index 0786b77b2d..db0b87408e 100644 --- a/libraries/AP_DroneCAN/AP_DroneCAN.cpp +++ b/libraries/AP_DroneCAN/AP_DroneCAN.cpp @@ -1428,6 +1428,7 @@ void AP_DroneCAN::handle_ESC_status(const CanardRxTransfer& transfer, const uavc .temperature_cdeg = int16_t((KELVIN_TO_C(msg.temperature)) * 100), .voltage = msg.voltage, .current = msg.current, + .error_count = msg.error_count, #if AP_EXTENDED_ESC_TELEM_ENABLED .power_percentage = msg.power_rating_pct, #endif