 
 static char g_SerialBuff[40];
 
-struct tagWireVal
+static struct tagWireVal
 {
   uint8_t hdr;
   union {

  }
  if (v != 0)
  {
    if (decodeRxPulse(v) == 1)
    {
      decodeRxPacket();

    Serial.println("CRC ERR");
}

static void txSetup(void)
{
#if defined(DPIN_OOK_TX)
  pinModeFast(DPIN_OOK_TX, OUTPUT);
  pinModeFast(DPIN_STARTTX_BUTTON, INPUT);
  digitalWriteFast(DPIN_STARTTX_BUTTON, HIGH);

  wireval.hdr = 0xfe;
  g_TxTemperature = tempFToCnt(116.22);
  g_TxFlags = 0x7c;
  g_TxWatts = 5000;
  g_TxTotal = 60000;
#endif
}

static void rxSetup(void)
{
#if defined(DPIN_OOK_RX)
#if defined(USE_TIMER1_PRESCALE)
  TCCR1A = 0;
#if (USE_TIMER1_PRESCALE == 64)
  // 64 prescale = 16000000 / 65536 / 64 = 3.8Hz or 263ms
  // Packets are 49ms long with a 65ms inter-packet delay
  TCCR1B = bit(CS11) | bit(CS10);
#elif defined(USE_TIMER1_PRESCALE)
#error Invalid USE_TIMER1_PRESCALE
#endif
#endif

  setupPinChangeInterrupt();
#endif
}

static void ookTx(void)
{
#if defined(DPIN_OOK_TX)
