 inline void stackCheck()
 {
     const int16_t minsp = OTV0P2BASE::MemoryChecks::getMinSPSpaceBelowStackToEnd();
-#if 1 //&& defined(DEBUG)
+#if 1 && defined(DEBUG)
 //    const uint8_t location = OTV0P2BASE::MemoryChecks::getLocation();
 //    const uint16_t progCounter = OTV0P2BASE::MemoryChecks::getPC();  // not isr safe
 //    OTV0P2BASE::serialPrintAndFlush(F("minsp: "));

                Serial.print(F("Resets: "));
                Serial.print(resetCount);
                Serial.println();
#if 1
                // Show stack headroom.
                OTV0P2BASE::serialPrintAndFlush(F("SH ")); OTV0P2BASE::serialPrintAndFlush(OTV0P2BASE::MemoryChecks::getMinSPSpaceBelowStackToEnd()); OTV0P2BASE::serialPrintlnAndFlush();
#endif

    PrimaryRadio.poll();
    SecondaryRadio.poll();
    }
  return(false);
  }

