| 2295 | } |
| 2296 | |
| 2297 | int HAMLIB_API rig_flush(hamlib_port_t *port) |
| 2298 | { |
| 2299 | // Data should never be flushed when using async I/O |
| 2300 | if (port->asyncio) |
| 2301 | { |
| 2302 | return RIG_OK; |
| 2303 | } |
| 2304 | |
| 2305 | return rig_flush_force(port, 0); |
| 2306 | } |
| 2307 | |
| 2308 | |
| 2309 | static const struct |
no test coverage detected