fix param path

old-commit-hash: e2df83089f
chrysler-long2
Comma Device 1 year ago
parent 8a84e369a0
commit ebcfcf6087
  1. 2
      system/hardware/hw.h

@ -30,7 +30,7 @@ namespace Path {
} }
inline std::string params() { inline std::string params() {
return util::getenv("PARAMS_ROOT", Hardware::PC ? (Path::comma_home() + "/params") : "/data/params"); return util::getenv("PARAMS_ROOT", Hardware::PC() ? (Path::comma_home() + "/params") : "/data/params");
} }
inline std::string rsa_file() { inline std::string rsa_file() {

Loading…
Cancel
Save