From 34b306e10731fd84fd01a218913c9bb38e8611f7 Mon Sep 17 00:00:00 2001 From: kfruson Date: Thu, 7 Nov 2024 14:49:02 -0700 Subject: [PATCH] AP_Volz_Protocol: bugfix with scaling integer --- libraries/AP_Volz_Protocol/AP_Volz_Protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h index 02b18fc4ea..f14df30230 100644 --- a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h +++ b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h @@ -140,8 +140,8 @@ private: float secondary_current; float primary_voltage; float secondary_voltage; - uint16_t motor_temp_deg; - uint16_t pcb_temp_deg; + int16_t motor_temp_deg; + int16_t pcb_temp_deg; } data[NUM_SERVO_CHANNELS]; uint32_t last_log_ms; } telem;