mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-25 09:32:24 -04:00
This reverts commit f11bc1f0d0.
Co-authored-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com>
15 lines
437 B
C++
15 lines
437 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include <vfs.hpp>
|
|
#include "SettingsDB.hpp"
|
|
const char *SettingsDB::dbName = USER_PATH("settings.db");
|
|
|
|
SettingsDB::SettingsDB() : Database(dbName), settings(this), settings_v2(this)
|
|
{
|
|
if (settings.create() == false || settings_v2.create() == false)
|
|
return;
|
|
|
|
isInitialized_ = true;
|
|
}
|