don't block on reading ublox param (#28859)

old-commit-hash: e63e2dde18b9ae2925d1a38c527dccfd0c99d4c5
This commit is contained in:
Adeeb Shihadeh
2023-07-10 15:33:58 -07:00
committed by GitHub
parent 75c1973249
commit 7337fab677
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ def clear_tmp_cache():
def main(sm=None, pm=None):
#clear_tmp_cache()
use_qcom = not Params().get_bool("UbloxAvailable", block=True)
use_qcom = not Params().get_bool("UbloxAvailable")
if use_qcom:
raw_name = "qcomGnss"
else:
+1 -1
View File
@@ -673,7 +673,7 @@ void Localizer::configure_gnss_source(LocalizerGnssSource source) {
int Localizer::locationd_thread() {
LocalizerGnssSource source;
const char* gps_location_socket;
if (Params().getBool("UbloxAvailable", true)) {
if (Params().getBool("UbloxAvailable")) {
source = LocalizerGnssSource::UBLOX;
gps_location_socket = "gpsLocationExternal";
} else {