From 4d399f77b4d818a35cd26281b9b7560dfdf83e79 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Thu, 19 Apr 2018 16:04:12 -0300 Subject: [PATCH] Update xdrv_11_knx.ino --- sonoff/xdrv_11_knx.ino | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sonoff/xdrv_11_knx.ino b/sonoff/xdrv_11_knx.ino index 76fc1cf0c..6906a7686 100644 --- a/sonoff/xdrv_11_knx.ino +++ b/sonoff/xdrv_11_knx.ino @@ -20,9 +20,6 @@ #ifdef USE_KNX /*********************************************************************************************\ * KNX support - * - * Using libraries: - * ESP KNX IP library (https://github.com/envy/esp-knx-ip) Constants in sonoff.h ----------------------- @@ -33,7 +30,6 @@ Constants in sonoff.h #define MAX_CALLBACK_ASSIGNMENTS 10 #define MAX_CALLBACKS 10 Both to MAX_KNX_CB - Variables in settings.h ----------------------- @@ -46,12 +42,12 @@ uint16_t Settings.knx_CB_addr[MAX_KNX_CB] Group address to write byte Settings.knx_GA_param[MAX_KNX_GA] Type of Input (relay changed, button pressed, sensor read) byte Settings.knx_CB_param[MAX_KNX_CB] Type of Output (set relay, toggle relay, reply sensor value) +//void KNX_CB_Action(message_t const &msg, void *arg); // Define function (action callback) to be called by the KNX_IP Library + // when an action is requested by another KNX Device + \*********************************************************************************************/ -#include - -//void KNX_CB_Action(message_t const &msg, void *arg); // Define function (action callback) to be called by the KNX_IP Library - // when an action is requested by another KNX Device +#include // ESP KNX IP library (https://github.com/envy/esp-knx-ip) address_t KNX_physs_addr; // Physical KNX address of this device address_t KNX_addr; // KNX Address converter variable