Browse Source
Merge pull request #23 from DanielR92/patch-2
Update config.h for MQTT
pull/1701/head
tictrick
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
0 deletions
-
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 |
|
|
|