AP_Volz_Protocol: Moved member variable definition within proper #define block to prevent unused variable warning

This commit is contained in:
Eric Katzfey 2024-12-17 09:19:14 -08:00 committed by Peter Barker
parent 42e2e23464
commit 5c9003dd02
1 changed files with 2 additions and 1 deletions

View File

@ -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,