   }  /* while Serial */
 }
 
+#if defined(DPIN_OOK_RX)
 static void resetDecoder(void)
 {
   decoder.pos = 0;

#if defined(DUMP_RX)
  for (uint8_t i=0; i<decoder.pos; ++i)
  {
    if (decoder.data[i] < 16)
      Serial.print('0');
    Serial.print(decoder.data[i], HEX);
  }
  Serial.println();
#endif


static char g_SerialBuff[40];

#if defined(DPIN_OOK_TX)
static struct tagWireVal
{
  uint8_t hdr;
