* \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. */
| 173 | * Also useful for dump_hex(), etc. |
| 174 | */ |
| 175 | int HAMLIB_API rig_need_debug(enum rig_debug_level_e debug_level) |
| 176 | { |
| 177 | return (debug_level <= rig_debug_level); |
| 178 | } |
| 179 | |
| 180 | |
| 181 | /** |
no outgoing calls
no test coverage detected