define guards
This commit is contained in:
parent
085e9da0e6
commit
b145fdf579
@ -1,14 +1,25 @@
|
|||||||
/* the radian_trx SW shall not be distributed nor used for commercial product*/
|
/* the radian_trx SW shall not be distributed nor used for commercial product*/
|
||||||
/* it is exposed just to demonstrate CC1101 capability to reader water meter indexes */
|
/* it is exposed just to demonstrate CC1101 capability to reader water meter indexes */
|
||||||
|
|
||||||
/*#define METER_YEAR 16
|
#ifndef METER_YEAR
|
||||||
|
#define METER_YEAR 16
|
||||||
|
#endif
|
||||||
|
#ifndef METER_SERIAL
|
||||||
#define METER_SERIAL 123456
|
#define METER_SERIAL 123456
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MQTT_HOST
|
||||||
#define MQTT_HOST "localhost"
|
#define MQTT_HOST "localhost"
|
||||||
|
#endif
|
||||||
|
#ifndef MQTT_PORT
|
||||||
#define MQTT_PORT 1883
|
#define MQTT_PORT 1883
|
||||||
|
#endif
|
||||||
|
#ifndef MQTT_USER
|
||||||
#define MQTT_USER "homeassistant"
|
#define MQTT_USER "homeassistant"
|
||||||
#define MQTT_PASS "PASS"*/
|
#endif
|
||||||
|
#ifndef MQTT_PASS
|
||||||
|
#define MQTT_PASS "PASS"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MQTT_KEEP_ALIVE 60
|
#define MQTT_KEEP_ALIVE 60
|
||||||
#define MQTT_MSG_MAX_SIZE 512
|
#define MQTT_MSG_MAX_SIZE 512
|
||||||
|
Loading…
x
Reference in New Issue
Block a user