diff --git a/common/params_pyx.pyx b/common/params_pyx.pyx index 391173165e..75ebacb3f5 100755 --- a/common/params_pyx.pyx +++ b/common/params_pyx.pyx @@ -7,7 +7,6 @@ from params_pxd cimport Params as c_Params import os import threading from common.basedir import BASEDIR -os.environ['BASEDIR'] = BASEDIR cdef enum TxType: PERSISTENT = 1 diff --git a/selfdrive/common/params.cc b/selfdrive/common/params.cc index 1731c15968..c89144d496 100644 --- a/selfdrive/common/params.cc +++ b/selfdrive/common/params.cc @@ -33,7 +33,7 @@ std::string getenv_default(const char* env_var, const char * suffix, const char* #if defined(QCOM) || defined(QCOM2) const std::string default_params_path = "/data/params"; #else -const std::string default_params_path = getenv_default("BASEDIR", "/persist/params", "/data/params"); +const std::string default_params_path = getenv_default("HOME", "/.comma/params", "/data/params"); #endif #if defined(QCOM) || defined(QCOM2)