     delay(100);
     downLow = 0xFFFF; 
     downHigh = 0;
-  for (scan = (frequency_offset + 50); scan > (frequency_offset - 50); --scan)
+  for (scan = (frequency_offset + SCAN_WIDTH); scan > (frequency_offset - SCAN_WIDTH); --scan)
   {
    rf12_control(0xA000 + scan); 
    byte good = probe();

void loop() {
  unsigned int scan, upLow, upHigh, downLow, downHigh;
  showString(PSTR("Scanning started "));
  Serial.println(frequency_offset);
  delay(50); 

    upLow = 0xFFFF;
    upHigh = 0;
  for (scan = (frequency_offset - 50); scan < (frequency_offset + 50); ++scan)
  {
   rf12_control(0xA000 + scan); 
   byte good = probe();

#define ACK_TIME   20  // number of milliseconds to wait for an ack
#define RETRY_LIMIT 9  // maximum number of times to retry
#define RADIO_SYNC_MODE 2
#define SCAN_WIDTH 50

/// @details
/// eeprom layout details
