fix #1762, add timeout on ubloxRaw receive

old-commit-hash: 0842e98ad8
commatwo_master
Willem Melching 5 years ago
parent 31e0931cee
commit cc4b6c2c33
  1. 2
      selfdrive/locationd/ubloxd_main.cc

@ -41,7 +41,7 @@ int ubloxd_main(poll_ubloxraw_msg_func poll_func, send_gps_event_func send_func)
PubMaster pm({"ubloxGnss", "gpsLocationExternal"});
while (!do_exit) {
Message * msg = subscriber->receive();
Message * msg = subscriber->receive(100);
if (!msg){
continue;
}

Loading…
Cancel
Save