Something strange, at least I think so.
If have the "counter++" or the case statement in the sketch, the sketch compiles to 27146 bytes.
If I have both then it compiles to 27560.
Big jump. Wonder why since I need all the room I can get.
I have not included the entire sketch.
counter++;
switch (counter) {
case 3:
for (int j =0; j < 13; j++) { //
sub_upc[j] = csv_value[j];
}
break;
case 4:
for (int j =0; j < 5; j++) { //
query_status[j] = csv_value[j];
}
break;
case 9:
for (int j =0; j < 13; j++) { //
upc12[j] = csv_value[j];
}
break;
case 12:
for (int j =0; j < FIELD_LENGTH; j++) { //
product[j] = csv_value[j];
}
break;
case 13:
for (int j =0; j < FIELD_LENGTH; j++) { //
description[j] = csv_value[j];
}
break;
case 14:
for (int j =0; j < 4; j++) { //
category_no[j] = csv_value[j];
}
break;
case 15:
for (int j =0; j < 20; j++) { //
category_text[j] = csv_value[j];
}
}