* check_vfo * No assumptions */
| 278 | * No assumptions |
| 279 | */ |
| 280 | static int check_vfo(vfo_t vfo) |
| 281 | { |
| 282 | switch (vfo) |
| 283 | { |
| 284 | case RIG_VFO_A: |
| 285 | break; |
| 286 | |
| 287 | case RIG_VFO_TX: |
| 288 | case RIG_VFO_B: |
| 289 | break; |
| 290 | |
| 291 | case RIG_VFO_CURR: |
| 292 | break; // will default to A in which_vfo |
| 293 | |
| 294 | default: |
| 295 | return (FALSE); |
| 296 | } |
| 297 | |
| 298 | return (TRUE); |
| 299 | } |
| 300 | |
| 301 | /*Rather than use some huge XML library we only need a few things |
| 302 | * So we'll hand craft them |
no outgoing calls
no test coverage detected