diff --git a/usermods/usermod_v2_auto_playlist/usermod_v2_auto_playlist.h b/usermods/usermod_v2_auto_playlist/usermod_v2_auto_playlist.h index dc23135c..36cece72 100644 --- a/usermods/usermod_v2_auto_playlist/usermod_v2_auto_playlist.h +++ b/usermods/usermod_v2_auto_playlist/usermod_v2_auto_playlist.h @@ -34,9 +34,9 @@ class AutoPlaylistUsermod : public Usermod { int lastchange = millis(); int last_beat_interval = millis(); - int change_threshold = 50; + int change_threshold = 50; // arbitrary starting point. - int change_lockout = 1000; // never change below this numnber of millis. I think of this more like a debounce, but opinions may vary. + int change_lockout = 1000; // never change below this number of millis. I think of this more like a debounce, but opinions may vary. int ideal_change_min = 10000; // ideally change patterns no less than this number of millis int ideal_change_max = 20000; // ideally change patterns no more than this number of millis diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index fa464320..d70096ad 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -124,7 +124,7 @@ void Segment::allocLeds() { } // softhack007 clean up buffer } if ((size > 0) && (!ledsrgb || size > ledsrgbSize)) { //softhack dont allocate zero bytes - USER_PRINTF("allocLeds (%d,%d to %d,%d), %u from %u\n", start, startY, stop, stopY, size, ledsrgb?ledsrgbSize:0); + // TroyHacks: FIXME reneable this later: USER_PRINTF("allocLeds (%d,%d to %d,%d), %u from %u\n", start, startY, stop, stopY, size, ledsrgb?ledsrgbSize:0); if (ledsrgb) free(ledsrgb); // we need a bigger buffer, so free the old one first ledsrgb = (CRGB*)calloc(size, 1); ledsrgbSize = ledsrgb?size:0;