 static void saveConfig () {
   // set up a nice config string to be shown on startup
   memset(config.msg, 0, sizeof config.msg);
-config.flags = 15; //Test Code
-  config.flags = config.flags ^ 0x02;               // Indicate v11 and upwards, unset the eeprom+2 0x20 bit !
+  config.flags = config.flags & (0xf - 0x2);               // Indicate v11 and upwards, unset the eeprom+2 0x20 bit !
   config.ee_frequency_hi = frequency >> 8;
   config.ee_frequency_lo = frequency & 0x00FF;
   byte id = config.nodeId & 0x1F;

  char msg[RF12_EEPROM_SIZE-6];
  word crc;
} RF12Config;
unsigned int frequency;
static RF12Config config;
char revP = 94; // Symbol ^ to indicate direction of frequency offset

////////////////////////////////////////////////////////////////////////

#endif
    if (rf12_config()) initialize();
    else {
    config.nodeId = 0x41; // 433 MHz, node 1
    config.group = 0xD4;  // default group 212
    frequency = 1600;
    config.flags = 0xd;        // v11 and upwards
//    saveConfig();            // Don't save to eeprom until we have changes.
  }

#if DATAFLASH
  df_initialize();
#endif 
#if not defined(__AVR_ATtiny84__) || not defined(__AVR_ATtiny44__)    
  showHelp();
#endif
}
void initialize() {
    config.nodeId = eeprom_read_byte(RF12_EEPROM_ADDR);
    config.group = eeprom_read_byte(RF12_EEPROM_ADDR + 1);
    frequency = eeprom_read_byte(RF12_EEPROM_ADDR + 2);
