Update settings.h

This commit is contained in:
Adrian Scillato 2018-04-05 09:47:13 -03:00 committed by GitHub
parent 1f39a4017c
commit af8e5d89a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -48,7 +48,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu
uint32_t not_power_linked : 1; // bit 20 (v5.11.1f)
uint32_t no_power_on_check : 1; // bit 21 (v5.11.1i)
uint32_t mqtt_serial : 1; // bit 22 (v5.12.0f)
uint32_t spare23 : 1;
uint32_t knx_enabled : 1; // bit 23 KNX
uint32_t spare24 : 1;
uint32_t spare25 : 1;
uint32_t spare26 : 1;
@ -255,7 +255,16 @@ struct SYSCFG {
Timer timer[MAX_TIMERS]; // 670
int latitude; // 6B0
int longitude; // 6B4
// 6B8 - FFF free locations
uint16_t knx_physsical_addr; // 6B8 (address_t is a uint16_t)
byte knx_GA_registered; // 6BB Number of Group Address to read
byte knx_CB_registered; // 6BC Number of Group Address to write
uint16_t knx_GA_addr[MAX_KNX_GA]; // 6BD (address_t is a uint16_t) x KNX_max_GA
uint16_t knx_CB_addr[MAX_KNX_CB]; // 6D1 (address_t is a uint16_t) x KNX_max_CB
byte knx_GA_param[MAX_KNX_GA]; // 6E5 Type of Input (relay changed, button pressed, sensor read <-teleperiod)
byte knx_CB_param[MAX_KNX_CB]; // 6EF Type of Output (set relay, toggle relay, reply sensor value)
// 6F9 - FFF free locations
} Settings;
struct RTCMEM {