cycle effect now tracks the heap leakage of the running effects. Cause somewhere's a memory leak leading to restarts of the ESP every about 2 days...

This commit is contained in:
2019-10-04 12:03:03 +02:00
parent 97dd6de280
commit 2b7033b685
2 changed files with 14 additions and 3 deletions

View File

@ -8,6 +8,7 @@ private:
Effect* effect = NULL;
uint16_t effect_id = -1;
unsigned long effectSince = 0;
uint16_t _heap_free = 0;
uint8_t _effects_count;
public:
CycleEffect();