MAX_LINELENGTH
static char progress_led[MAX_LINELENGTH];
if (count >= MAX_LINELENGTH)
count = MAX_LINELENGTH -1;