| 1256 | |
| 1257 | |
| 1258 | static int dummy_set_func(RIG *rig, vfo_t vfo, setting_t func, int status) |
| 1259 | { |
| 1260 | struct dummy_priv_data *priv = (struct dummy_priv_data *)STATE(rig)->priv; |
| 1261 | channel_t *curr = priv->curr; |
| 1262 | |
| 1263 | ENTERFUNC; |
| 1264 | rig_debug(RIG_DEBUG_VERBOSE, "%s called: %s %d\n", __func__, |
| 1265 | rig_strfunc(func), status); |
| 1266 | |
| 1267 | if (status) |
| 1268 | { |
| 1269 | curr->funcs |= func; |
| 1270 | } |
| 1271 | else |
| 1272 | { |
| 1273 | curr->funcs &= ~func; |
| 1274 | } |
| 1275 | |
| 1276 | RETURNFUNC(RIG_OK); |
| 1277 | } |
| 1278 | |
| 1279 | |
| 1280 | static int dummy_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) |
nothing calls this directly
no test coverage detected