fix param path

old-commit-hash: e2df83089f
This commit is contained in:
Comma Device 2024-01-18 20:12:04 -08:00
parent 8a84e369a0
commit ebcfcf6087
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace Path {
}
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() {