MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / rig_strptrshift

Function rig_strptrshift

src/misc.c:1687–1704  ·  view source on GitHub ↗

* \brief convert enum RIG_RPT_SHIFT_... to printable character * \param shift RIG_RPT_SHIFT_?? * \return alpha character */

Source from the content-addressed store, hash-verified

1685 * \return alpha character
1686 */
1687const char *HAMLIB_API rig_strptrshift(rptr_shift_t shift)
1688{
1689 rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
1690
1691 switch (shift)
1692 {
1693 case RIG_RPT_SHIFT_MINUS:
1694 return "-";
1695
1696 case RIG_RPT_SHIFT_PLUS:
1697 return "+";
1698
1699 case RIG_RPT_SHIFT_NONE:
1700 return "None";
1701 }
1702
1703 return NULL;
1704}
1705
1706
1707/**

Callers 7

quisk_set_rptr_shiftFunction · 0.85
netrigctl_set_rptr_shiftFunction · 0.85
dump_xml_chanFunction · 0.85
dump_csv_chanFunction · 0.85
dump_chanFunction · 0.85
rigctl_parse.cFile · 0.85
dump_chanFunction · 0.85

Calls 1

rig_debugFunction · 0.85

Tested by

no test coverage detected