| 300 | } |
| 301 | |
| 302 | static int ad_fsync(hamlib_port_t *port, int i) |
| 303 | { |
| 304 | int ret; |
| 305 | |
| 306 | ret = ser_set_dtr(port, i); |
| 307 | ad_delay(AD_DELAY); |
| 308 | |
| 309 | if (ret != RIG_OK) |
| 310 | rig_debug(RIG_DEBUG_ERR, "%s: unable to set statusbits\n", |
| 311 | __func__); |
| 312 | |
| 313 | return ret; |
| 314 | } |
| 315 | |
| 316 | static int ad_write(hamlib_port_t *port, unsigned data) |
| 317 | { |
no test coverage detected