     switch (event)
     {
       case vfo_RLeft:
-        if (VfoFrequency <= MinFreq || offset2bump[VfoSelectDigit] > VfoFrequency)
-          break;
         VfoFrequency -= offset2bump[VfoSelectDigit];
         if (VfoFrequency < MinFreq)
           VfoFrequency = MinFreq;
-        if (VfoFrequency > MaxFreq)
-          VfoFrequency = MaxFreq;
         break;
       case vfo_RRight:
-        if (VfoFrequency >= MaxFreq)
-          break;
         VfoFrequency += offset2bump[VfoSelectDigit];
-        if (VfoFrequency < MinFreq)
-          VfoFrequency = MinFreq;
         if (VfoFrequency > MaxFreq)
           VfoFrequency = MaxFreq;
         break;

//-----

// max and min frequency showable
const ULONG MaxFreq = 60000000L;
const ULONG MinFreq = 1000000L;

// number of digits in the frequency display
const int NumFreqChars = 8;

// DEBUG word for debugging program - bitmask values
//#define DEBUG         (DEBUG_BATT + DEBUG_ACT)
#define DEBUG         0

// Digital VFO program name & version
const char *ProgramName = "DigitalVFO";
const char *Version = "1.6";
const char *MinorVersion = ".3";
const char *Callsign = "ac3dn";

// display constants - below is for ubiquitous small HD44780 16x2 display
