Problem with if/else

For what it's worth, Visual Studio has a handy dandy colour coded braces plugin. I've not actually used it but it sounds like something that might be handy in Arduino IDE too.

EDIT: Ah nice... Turns out the plugin in VSCode is now baked in. You just add "editor.bracketPairColorization.enabled": true to the settings.json file

It makes a difference too (don't shoot me in the leg for this code):

pgmPrintLCD((const char *)pgm_read_word(&ampTypeNames[allIndexes[11]]));
vs