AP_GPS: correct compiler warnings
In file included from ../../libraries/AP_GPS/AP_GPS_SBF.cpp:22: ../../libraries/AP_GPS/AP_GPS_SBF.h:75:14: warning: private field 'last_injected_data_ms' is not used [-Wunused-private-field] uint32_t last_injected_data_ms = 0; ^ ../../libraries/AP_GPS/AP_GPS_SBF.h:210:7: warning: private field 'RxError_bits' is not used [-Wunused-private-field] } RxError_bits;
This commit is contained in:
parent
4288133ce0
commit
816045c1ab
@ -72,7 +72,6 @@ private:
|
||||
const char* _port_enable = "\nSSSSSSSSSS\n";
|
||||
|
||||
uint32_t crc_error_counter = 0;
|
||||
uint32_t last_injected_data_ms = 0;
|
||||
uint32_t RxState;
|
||||
uint32_t RxError;
|
||||
|
||||
@ -207,5 +206,5 @@ private:
|
||||
CPUOVERLOAD = (1 << 9),
|
||||
INVALIDCONFIG = (1 << 10),
|
||||
OUTOFGEOFENCE = (1 << 11),
|
||||
} RxError_bits;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user