Reduce verbosity on rig_strvfo

pull/236/head
mdblack98 2020-05-02 07:57:16 -05:00
rodzic 2fcecd7d7f
commit 54fd75ffe8
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -507,13 +507,13 @@ const char *HAMLIB_API rig_strvfo(vfo_t vfo)
int i; int i;
//a bit too verbose //a bit too verbose
rig_debug(RIG_DEBUG_TRACE, "%s called\n", __func__); //rig_debug(RIG_DEBUG_TRACE, "%s called\n", __func__);
for (i = 0 ; vfo_str[i].str[0] != '\0'; i++) for (i = 0 ; vfo_str[i].str[0] != '\0'; i++)
{ {
if (vfo == vfo_str[i].vfo) if (vfo == vfo_str[i].vfo)
{ {
rig_debug(RIG_DEBUG_TRACE, "%s returning %s\n", __func__, vfo_str[i].str); //rig_debug(RIG_DEBUG_TRACE, "%s returning %s\n", __func__, vfo_str[i].str);
return vfo_str[i].str; return vfo_str[i].str;
} }
} }