int bladerf_set_txvga1(struct bladerf *dev, int gain) { int status; MUTEX_LOCK(&dev->ctrl_lock); status = lms_txvga1_set_gain(dev, gain); MUTEX_UNLOCK(&dev->ctrl_lock); return status; }
int bladerf_set_txvga1(struct bladerf *dev, int gain) { return lms_txvga1_set_gain(dev, gain); }