From cddc9b622f8c0d4a03e9e47fc10cc4c2367d9984 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 20 Nov 2019 10:38:16 +0900 Subject: [PATCH] AP_KDECAN: log motor temp as zero --- libraries/AP_KDECAN/AP_KDECAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_KDECAN/AP_KDECAN.cpp b/libraries/AP_KDECAN/AP_KDECAN.cpp index 15f79a7f9c..cdddc1a823 100644 --- a/libraries/AP_KDECAN/AP_KDECAN.cpp +++ b/libraries/AP_KDECAN/AP_KDECAN.cpp @@ -633,7 +633,7 @@ void AP_KDECAN::update() int32_t(telem_buffer[i].rpm * 60UL * 2 / num_poles * 100), telem_buffer[i].voltage, telem_buffer[i].current, - int16_t(telem_buffer[i].temp * 100U), 0); + int16_t(telem_buffer[i].temp * 100U), 0, 0); } } }