From 1f9a5d6bc3594bebc210cfc0256c4bd47437bd6a Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Wed, 7 Jul 2021 01:14:07 +0800 Subject: [PATCH] installer.cc: fix wrong db path (#21494) old-commit-hash: 41459887560bd25eb600804e2b8e125f977d965b --- selfdrive/ui/qt/setup/installer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/setup/installer.cc b/selfdrive/ui/qt/setup/installer.cc index 91909a1af0..14bb598fa6 100644 --- a/selfdrive/ui/qt/setup/installer.cc +++ b/selfdrive/ui/qt/setup/installer.cc @@ -50,7 +50,7 @@ int fresh_clone() { }; for (const auto& [key, value] : params) { std::ofstream param; - param.open("/data/params/d/RecordFrontLock" + key); + param.open("/data/params/d/" + key); param << value; param.close(); }