another MQTT optimization (reduced lines and duplicates)

This commit is contained in:
lumapu 2022-10-26 22:48:45 +02:00
parent 71da175fc0
commit 0ab382986b
3 changed files with 25 additions and 32 deletions

View file

@ -68,6 +68,11 @@ typedef enum {
#define MIN_SEND_INTERVAL 15
#define MIN_MQTT_INTERVAL 60
#define MQTT_STATUS_NOT_AVAIL_NOT_PROD 0
#define MQTT_STATUS_AVAIL_NOT_PROD 1
#define MQTT_STATUS_AVAIL_PROD 2
//-------------------------------------
// EEPROM
//-------------------------------------