mirror of
https://github.com/anklimov/lighthub
synced 2026-09-13 13:44:04 +00:00
MQTT message loop fixed
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DTIMER_INT
|
||||
#-DFLASH_OFFSET=-256
|
||||
|
||||
# Serial parameters for LEGACY Modbus
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
|
||||
Binary file not shown.
+5268
-5267
File diff suppressed because it is too large
Load Diff
+7252
-7251
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7044
-7044
File diff suppressed because it is too large
Load Diff
+6819
-6818
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+5166
-5165
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+5606
-5605
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -369,7 +369,7 @@ int intopic;
|
||||
|
||||
void mqttCallback(char *topic, byte *payload, unsigned int length)
|
||||
{
|
||||
if (!payload) return;
|
||||
if (!payload || !payload[0]) return;
|
||||
payload[length] = 0;
|
||||
|
||||
int fr = freeRam();
|
||||
|
||||
Reference in New Issue
Block a user