MiTestCard is only used in DBG=1, surround with ifdef so DBG=0 builds.