diff --git a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h index d17fa76570..c6c9bc338f 100644 --- a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h +++ b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h @@ -88,7 +88,6 @@ private: // Loop in thread to output to uart void loop(); - uint8_t sent_count; void init(void); @@ -120,6 +119,8 @@ private: void read_telem(); void process_response(const CMD &cmd); + uint8_t sent_count; + struct { CMD_ID types[3] { CMD_ID::READ_CURRENT,