save work

This commit is contained in:
Nanosonde 2020-07-17 14:50:37 +02:00
parent f9d44164f0
commit 1d3648d372
2 changed files with 8 additions and 7 deletions

View File

@ -33,12 +33,13 @@ bool isSendHidReportPossible()
{ {
return false; return false;
} }
#if MEDIUM_TYPE == 5
#if MASK_VERSION == 0x57B0
KnxFacade<LinuxPlatform, Bau57B0> knx; KnxFacade<LinuxPlatform, Bau57B0> knx;
#elif MEDIUM_TYPE == 2 #elif MASK_VERSION == 0x27B0
KnxFacade<LinuxPlatform, Bau27B0> knx; KnxFacade<LinuxPlatform, Bau27B0> knx;
#else #else
#error Only MEDIUM_TYPE IP and RF supported #error Mask version not supported yet!
#endif #endif
long lastsend = 0; long lastsend = 0;

View File

@ -14,14 +14,14 @@
// Normal devices // Normal devices
#define MASK_VERSION 0x07B0 #define MASK_VERSION 0x07B0
//#define MASK_VERSION 0x02B0 //#define MASK_VERSION 0x27B0
//#define MASK_VERSION 0x05B0 //#define MASK_VERSION 0x57B0
// Couplers // Couplers
// 0x091A: IP/TP1 // 0x091A: IP/TP1
// 0x29B0: TP1/RF // 0x2920: TP1/RF
//#define MASK_VERSION 0x091A //#define MASK_VERSION 0x091A
//#define MASK_VERSION 0x29B0 //#define MASK_VERSION 0x2920
#define USE_RF #define USE_RF
#define USE_TP #define USE_TP