Jozef Lawrynowicz <joze...@mittosystems.com> writes: > - for (i = start_upper; i < strlen (mcu_name); i++) > + for (i = start_upper; i < strlen (mcu_name) - 2; i++)
Might be faster to test mcu_name[i] instead of calling strlen repeatedly too, but this only runs once per invocation ;-)