 
 /* config */
 
-// MAXPIX+EXTRAPIX must fit into uint8_t
+// MAXPIX must fit uint8_t loop variable in ledFade, ledBlink
 #define MAXPIX 20  // LED stripe length
 #define EXTRAPIX 3 // animation buffer, read window moves back and forth EXTRAPIX pixels
 

  },
*/

const struct accelProfile *accelProfile; // pointer to current profile
int accelProfileIdx = 0;


/* unsorted variables below. TODO: refactor & cleanup */

        ledMillis = 0;

        if (!ledState.blink_on) {
//          memset(&tmp_leds, 0x00, sizeof(tmp_leds));
          for (uint8_t i = 0; i < MAXPIX; i++) {
            tmp_leds[i] = black;
          }
