AP_GPS: Remove unused member variable in gsof driver

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-05-11 21:54:10 -06:00 committed by Andrew Tridgell
parent a47e125c1f
commit b8f59b0df5
2 changed files with 0 additions and 2 deletions

View File

@ -94,7 +94,6 @@ AP_GPS_GSOF::parse(const uint8_t temp)
case gsof_msg_parser_t::STARTTX:
if (temp == GSOF_STX)
{
gsof_msg.starttx = temp;
gsof_msg.gsof_state = gsof_msg_parser_t::STATUS;
gsof_msg.read = 0;
gsof_msg.checksumcalc = 0;

View File

@ -62,7 +62,6 @@ private:
ENDTX
} gsof_state;
uint8_t starttx;
uint8_t status;
uint8_t packettype;
uint8_t length;