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

Function rig_need_debug

src/debug.c:175–178  ·  view source on GitHub ↗

* \brief Test if a given debug level is active. * * \param debug_level The level to test. * * May be used to determine if an action such as opening a dialog should * happen only if a desired debug level is active. * * Also useful for dump_hex(), etc. */

Source from the content-addressed store, hash-verified

173 * Also useful for dump_hex(), etc.
174 */
175int HAMLIB_API rig_need_debug(enum rig_debug_level_e debug_level)
176{
177 return (debug_level <= rig_debug_level);
178}
179
180
181/**

Callers 11

xml_parse2Function · 0.85
dump_memoryFunction · 0.85
anytone_threadFunction · 0.85
rig_fire_spectrum_eventFunction · 0.85
rot_set_confFunction · 0.85
rig_set_cache_freqFunction · 0.85
rig_get_cacheFunction · 0.85
amp_set_confFunction · 0.85
dump_hexFunction · 0.85
rig_debugFunction · 0.85
rig_set_confFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected