changes to the build system

This commit is contained in:
Ryzerth
2020-12-22 14:50:26 +01:00
parent e90b6656c3
commit bd545feb2c
57 changed files with 1456 additions and 275 deletions

View File

@ -14,6 +14,7 @@
#include <dsb_demod.h>
#include <raw_demod.h>
#include <cw_demod.h>
#include <options.h>
#define CONCAT(a, b) ((std::string(a) + b).c_str())
@ -197,7 +198,7 @@ private:
MOD_EXPORT void _INIT_() {
json def = json({});
config.setPath(ROOT_DIR "/radio_config.json");
config.setPath(options::opts.root + "/radio_config.json");
config.load(def);
config.enableAutoSave();
}