   }
 
   // display of frequency and mode from time to time
-  if ( millis() - loop_init > 2000 ) {
-    
-    loop_init = millis();
+  if ( millis() - loop_counter > 2000 ) {
+    
+    loop_counter = millis();
     
 #ifdef DEBUG
     Serial << F("RX(") << (int)rxStatus << F("): ") 

#ifdef DEBUG
  // serial interface for debugging etc.
  Serial.begin(9600);
  
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }
  
  Serial.println("Initialisation done!");
#endif // DEBUG


  //transvControl.txFrequency = FT817.getFrequency();
  
  if ( first ) {

#ifdef DEBUG_SWITCH    
    Serial.print("Left switch is ");
    Serial.println((left_switch ? "ON" : "OFF"));
    
    Serial.print("Middle switch is ");
    Serial.println((middle_switch ? "ON" : "OFF"));

    Serial.print("Right switch is ");
    Serial.println((right_switch ? "ON" : "OFF"));
#endif // DEBUG_SWITCH

    // prepare for RX frequency display
    // 0123456789012345
