mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
PROGMEM for ESP8266 crash with strstr
This commit is contained in:
parent
089495b997
commit
74930eeed1
@ -141,12 +141,12 @@ const char kLabel[] PROGMEM =
|
|||||||
|
|
||||||
// Blacklisted label from telemetry
|
// Blacklisted label from telemetry
|
||||||
// Each label shoud be enclosed by pipe
|
// Each label shoud be enclosed by pipe
|
||||||
#ifdef ESP8266
|
const char kLabelBlacklist[]
|
||||||
// dclared as progmem for ESP8266 crash on strstr
|
// declared as progmem for ESP8266 just crash and reset on strstr()
|
||||||
const char kLabelBlacklist[] =
|
#ifndef ESP8266
|
||||||
#else
|
PROGMEM
|
||||||
const char kLabelBlacklist[] PROGMEM =
|
|
||||||
#endif
|
#endif
|
||||||
|
=
|
||||||
"|PJOURF+1"
|
"|PJOURF+1"
|
||||||
"|MSG1"
|
"|MSG1"
|
||||||
"|"
|
"|"
|
||||||
@ -843,7 +843,6 @@ Output : -
|
|||||||
Comments: -
|
Comments: -
|
||||||
====================================================================== */
|
====================================================================== */
|
||||||
//#define MEASURE_PERF // Define to enable performance measurments
|
//#define MEASURE_PERF // Define to enable performance measurments
|
||||||
|
|
||||||
void TInfoProcess(void)
|
void TInfoProcess(void)
|
||||||
{
|
{
|
||||||
static char buff[TELEINFO_PROCESS_BUFFER];
|
static char buff[TELEINFO_PROCESS_BUFFER];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user