Deleting FLASH_TYPES constant and iterating flash variable