AP_GPS: Suppress clearing non-trival type warning
This commit is contained in:
parent
25ef5fed82
commit
d6944510da
@ -611,7 +611,7 @@ void AP_GPS::update_instance(uint8_t instance)
|
||||
bool data_should_be_logged = false;
|
||||
if (!result) {
|
||||
if (tnow - timing[instance].last_message_time_ms > GPS_TIMEOUT_MS) {
|
||||
memset(&state[instance], 0, sizeof(state[instance]));
|
||||
memset((void *)&state[instance], 0, sizeof(state[instance]));
|
||||
state[instance].instance = instance;
|
||||
state[instance].hdop = GPS_UNKNOWN_DOP;
|
||||
state[instance].vdop = GPS_UNKNOWN_DOP;
|
||||
|
Loading…
Reference in New Issue
Block a user