         if ( minutesSinceLastReading > 31*15 )
           historiesSinceLastReading = 32;
 
-        #ifdef DEBUG
+        #ifdef FRAM_DEBUG
         Serial.printf("\r\nhistoryDelta:              0x%x\n\r", historyDelta);
         Serial.printf("historiesSinceLastReading: 0x%x\n\r", historiesSinceLastReading);
         #endif

  valueSetup.marker = 'T';
  rc = flashWriteBlock(p, &valueSetup, sizeof(valueSetup));
  if (rc == 0)
    Serial.println(" -> Success");
  else if (rc == 1)
    Serial.println(" -> Error - the flash page is reserved");
  else if (rc == 2)
    Serial.println(" -> Error - the flash page is used by the sketch");
}

void displayData()

  }
  else
  {
    print_state(" *** error reading patch info, clearing UID");
    clearBuffer(systemInformationData.uid);
    systemInformationData.errorCode = resultBuffer[3];
  }
