fix typo in params path on PC

old-commit-hash: d28f488ea56c78c4f70fd3c8c16114ffa48ba38a
This commit is contained in:
Willem Melching
2020-10-19 14:25:33 +02:00
parent 5c09e8e61b
commit 8cc1d9f855
+1 -2
View File
@@ -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", "persists/params", "/data/params");
const std::string default_params_path = getenv_default("BASEDIR", "/persist/params", "/data/params");
#endif
#if defined(QCOM) || defined(QCOM2)
@@ -45,7 +45,6 @@ const std::string persistent_params_path = default_params_path;
volatile sig_atomic_t params_do_exit = 0;
void params_sig_handler(int signal) {
std::cout << "got signal" << std::endl;
params_do_exit = 1;
}