Browse Source

Merge pull request #23 from DanielR92/patch-2

Update config.h for MQTT
pull/1701/head
tictrick 6 months ago
committed by GitHub
parent
commit
46103458dc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/config/config.h

3
src/config/config.h

@ -6,6 +6,9 @@
#ifndef __CONFIG_H__
#define __CONFIG_H__
// set EMC_ALLOW_NOT_CONNECTED_PUBLISH flag to 0
// (https://www.emelis.net/espMqttClient/#compile-time-configuration) to avoid the memory exhaustion when disconnected.
#define EMC_ALLOW_NOT_CONNECTED_PUBLISH 0
// globally used
#define DEF_PIN_OFF 255

Loading…
Cancel
Save