Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

const char* HAMLIB_API rig_strptrshift ( rptr_shift_t  shift  ) 

convert enum RIG_RPT_SHIFT_... to printable character

Parameters:
shift RIG_RPT_SHIFT_??
Returns:
alpha character

Definition at line 700 of file misc.c.

References RIG_RPT_SHIFT_MINUS, RIG_RPT_SHIFT_NONE, and RIG_RPT_SHIFT_PLUS.

{
      switch (shift) {
      case RIG_RPT_SHIFT_MINUS: return "-";
      case RIG_RPT_SHIFT_PLUS: return "+";
      case RIG_RPT_SHIFT_NONE: return "None";
      }
      return NULL;
}


Generated by  Doxygen 1.6.0   Back to index