define guards

This commit is contained in:
leo 2023-07-09 21:54:21 +02:00
parent 085e9da0e6
commit b145fdf579
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -1,14 +1,25 @@
/* 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 */
/*#define METER_YEAR 16
#ifndef METER_YEAR
#define METER_YEAR 16
#endif
#ifndef METER_SERIAL
#define METER_SERIAL 123456
#endif
#ifndef MQTT_HOST
#define MQTT_HOST "localhost"
#endif
#ifndef MQTT_PORT
#define MQTT_PORT 1883
#endif
#ifndef MQTT_USER
#define MQTT_USER "homeassistant"
#define MQTT_PASS "PASS"*/
#endif
#ifndef MQTT_PASS
#define MQTT_PASS "PASS"
#endif
#define MQTT_KEEP_ALIVE 60
#define MQTT_MSG_MAX_SIZE 512