Update settings.h

This commit is contained in:
Adrian Scillato 2018-04-15 12:13:49 -03:00 committed by GitHub
parent 9cb3304679
commit ec9865447b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu
uint32_t mqtt_serial : 1; // bit 22 (v5.12.0f)
uint32_t rules_enabled : 1; // bit 23 (v5.12.0j)
uint32_t rules_once : 1; // bit 24 (v5.12.0k)
uint32_t spare25 : 1;
uint32_t knx_enabled : 1; // bit 25 KNX
uint32_t spare26 : 1;
uint32_t spare27 : 1;
uint32_t spare28 : 1;
@ -260,7 +260,15 @@ struct SYSCFG {
char rules[MAX_RULE_SIZE]; // 700 uses 512 bytes in v5.12.0l
// 900 - FFF free locations
uint16_t knx_physsical_addr; // 900 (address_t is a uint16_t)
byte knx_GA_registered; // 902 Number of Group Address to read
byte knx_CB_registered; // 903 Number of Group Address to write
uint16_t knx_GA_addr[MAX_KNX_GA]; // 917 (address_t is a uint16_t) x KNX_max_GA
uint16_t knx_CB_addr[MAX_KNX_CB]; // 92B (address_t is a uint16_t) x KNX_max_CB
byte knx_GA_param[MAX_KNX_GA]; // 92C Type of Input (relay changed, button pressed, sensor read <-teleperiod)
byte knx_CB_param[MAX_KNX_CB]; // 92D Type of Output (set relay, toggle relay, reply sensor value)
// 92E - FFF free locations
} Settings;
struct RTCMEM {