* Fixed wait() by using volatile else the loop was removed by GCC.
Tested it with SPIFI work fine:
SPIFI tested with LPCXpresso+NXP LPC Link (from LPCXpresso Board LPC1769 Debugger)
-> Program Flash with Flash Driver LPC1850A_4350A_SPIFI.cfx
-> Select file: firmware\blinky\blinky.bin
-> Base address 0x14000000 & option Erase only required pages