From 894a54fa7f4ca66e8a8b5dd06eb8bedc1a8d4108 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Thu, 12 Mar 2020 21:34:00 +0100 Subject: [PATCH] enable RF and TP --- src/knx/config.h | 6 +++--- src/knx_facade.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/knx/config.h b/src/knx/config.h index 95e906c..2554c3b 100644 --- a/src/knx/config.h +++ b/src/knx/config.h @@ -10,9 +10,9 @@ #define GPIO_GDO0_PIN 24 // GPIO 24 (GPIO_GEN5) -> WiringPi: 5 -> Pin number on header: 18 #endif - -//#define USE_RF -//#define USE_TP +//#define MEDIUM_TYPE 2 +#define USE_RF +#define USE_TP #define USE_IP //#define USE_USB //#define USE_CEMI_SERVER diff --git a/src/knx_facade.h b/src/knx_facade.h index 2aef3a8..c59b600 100644 --- a/src/knx_facade.h +++ b/src/knx_facade.h @@ -1,7 +1,7 @@ #pragma once #include "knx/bits.h" - +#include "knx/config.h" // Set default medium type to TP if no external definitions was given #ifndef MEDIUM_TYPE #define MEDIUM_TYPE 0