| 294 | } |
| 295 | |
| 296 | static void start_thread(RIG *rig) |
| 297 | { |
| 298 | struct tt565_priv_data *priv = (struct tt565_priv_data *)STATE(rig)->priv; |
| 299 | pthread_attr_t attr; |
| 300 | int ret; |
| 301 | |
| 302 | pthread_attr_init(&attr); |
| 303 | ret = pthread_create(&priv->threadid, &attr, read_device, rig); |
| 304 | |
| 305 | if (ret != 0) |
| 306 | { |
| 307 | rig_debug(RIG_DEBUG_ERR, "%s: Orion unable to start thread\n", __func__); |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * \param rig The rig handle |
no test coverage detected