mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
17 lines
No EOL
317 B
C++
17 lines
No EOL
317 B
C++
#include "config.h"
|
|
#include "nlohmann/json_utils.h"
|
|
#include "logger.h"
|
|
|
|
namespace satdump
|
|
{
|
|
namespace config
|
|
{
|
|
nlohmann::ordered_json cfg;
|
|
|
|
void loadConfig(std::string path)
|
|
{
|
|
logger->info("Loading config " + path);
|
|
cfg = loadJsonFile(path);
|
|
}
|
|
}
|
|
} |