if (data[in_index]<10)
sprintf(tmp++, "%u", (unsigned int) data[in_index]);
// check if a line break is needed and we have room to print it in our array
if (data[in_index]<10)
sprintf(tmp++, "%u", (unsigned int) data[in_index]);
// check if a line break is needed and we have room to print it in our array
// increment and print line break
out_index++;
sprintf(tmp++, "%s","\n");
// increment and print line break
out_index++;
sprintf(tmp++, "%s","\n");