From ebcfcf6087d7de416197f41155b966fb99bfb442 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Thu, 18 Jan 2024 20:12:04 -0800 Subject: [PATCH] fix param path old-commit-hash: e2df83089fe0050d41ef3d7f9241c75b14cba134 --- system/hardware/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/hardware/hw.h b/system/hardware/hw.h index 013a885a81..394807ccb5 100644 --- a/system/hardware/hw.h +++ b/system/hardware/hw.h @@ -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() {