diff options
Diffstat (limited to 'high-can-binding/high.hpp')
-rw-r--r-- | high-can-binding/high.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/high-can-binding/high.hpp b/high-can-binding/high.hpp index c015f4a..de3a471 100644 --- a/high-can-binding/high.hpp +++ b/high-can-binding/high.hpp @@ -9,6 +9,7 @@ #include <systemd/sd-event.h> extern "C" { + #define AFB_BINDING_VERSION 2 #include <afb/afb-binding.h> }; @@ -43,7 +44,7 @@ public: void tick(sd_event_source *source, const long &now, void *interv); void startTimer(const int &t); ~High(); - void parseConfigAndSubscribe(afb_service service); + void parseConfigAndSubscribe(); static bool startsWith(const std::string &s, const std::string &val); static void callBackFromSubscribe(void *handle, int iserror, json_object *result); private: |