fix #1762, add timeout on ubloxRaw receive

old-commit-hash: 0842e98ad832ec5dbd1afe1bfda5893c21aa1ef6
This commit is contained in:
Willem Melching
2020-06-23 15:26:25 -07:00
parent 31e0931cee
commit cc4b6c2c33
+1 -1
View File
@@ -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;
}