We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bef3da commit 9085838Copy full SHA for 9085838
src/components/gps/model.cpp
@@ -55,10 +55,8 @@ wippersnapper_gps_GPSConfig *GPSModel::GetGPSConfigMsg() {
55
* you are creating a NEW gps event, not modifying an existing one.
56
*/
57
void GPSModel::CreateGPSEvent() {
58
- // Zero-out whatever was previously in the GPSEvent message
+ // Zero-out the GPSEvent message
59
memset(&_msg_gps_event, 0, sizeof(_msg_gps_event));
60
- // Create new GPSEvent message with initializer
61
- _msg_gps_event = wippersnapper_gps_GPSEvent_init_zero;
62
_msg_gps_event.gga_responses_count = 0;
63
_msg_gps_event.rmc_responses_count = 0;
64
}
0 commit comments