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

Function rig_mem_caps_empty

src/mem.c:318–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316
317
318static int rig_mem_caps_empty(const channel_cap_t *mem_cap)
319{
320 return !(
321 mem_cap->bank_num ||
322 mem_cap->vfo ||
323 mem_cap->ant ||
324 mem_cap->freq ||
325 mem_cap->mode ||
326 mem_cap->width ||
327 mem_cap->tx_freq ||
328 mem_cap->tx_mode ||
329 mem_cap->tx_width ||
330 mem_cap->split ||
331 mem_cap->tx_vfo ||
332 mem_cap->rptr_shift ||
333 mem_cap->rptr_offs ||
334 mem_cap->tuning_step ||
335 mem_cap->rit ||
336 mem_cap->xit ||
337 mem_cap->funcs ||
338 mem_cap->levels ||
339 mem_cap->ctcss_tone ||
340 mem_cap->ctcss_sql ||
341 mem_cap->dcs_code ||
342 mem_cap->dcs_sql ||
343 mem_cap->scan_group ||
344 mem_cap->flags ||
345 mem_cap->channel_desc ||
346 mem_cap->ext_levels
347 );
348}
349
350
351/*

Callers 2

generic_save_channelFunction · 0.85
generic_restore_channelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected