Skip to content

Commit

Permalink
better config parsing debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Nov 25, 2023
1 parent 25d0fa0 commit c953539
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/stat_socket/stat_socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
//#include "../../trunk-recorder/systems/system.h"
#include "../../trunk-recorder/plugin_manager/plugin_api.h"
#include "../trunk-recorder/gr_blocks/decoder_wrapper.h"
#include <boost/dll/alias.hpp> // for BOOST_DLL_ALIAS
#include <boost/dll/alias.hpp> // for BOOST_DLL_ALIAS
#define JSON_DIAGNOSTICS 1
#include <json.hpp>

typedef struct stat_plugin_t stat_plugin_t;
Expand Down
2 changes: 1 addition & 1 deletion trunk-recorder/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "source.h"
#include "systems/system.h"
#include "plugin_manager/plugin_manager.h"

#define JSON_DIAGNOSTICS 1
#include <json.hpp>

bool load_config(std::string config_file, Config& config, gr::top_block_sptr& tb, std::vector<Source *>& sources, std::vector<System *>& systems);
Expand Down
1 change: 1 addition & 0 deletions trunk-recorder/plugin_manager/plugin_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "../systems/system.h"
#include "../systems/parser.h"
#include "../formatter.h"
#define JSON_DIAGNOSTICS 1
#include <json.hpp>

typedef enum {
Expand Down

0 comments on commit c953539

Please sign in to comment.