Fix comparison between mismatched enums
@@ -160,7 +160,7 @@ int LMS7_LimeSDR_mini::Calibrate(bool dir_tx, unsigned chan, double bw, unsigned
uint16_t value = fpga->ReadRegister(0x17);
uint16_t wr_val = value & (~0x3300);
wr_val |= lms_list[0]->GetBandTRF() == LMS_PATH_TX2 ? 0x1000 : 0x2000;
- wr_val |= lms_list[0]->GetPathRFE() == LMS_PATH_LNAW ? 0x100 : 0x200;
+ wr_val |= lms_list[0]->GetPathRFE() == LMS7002M::PathRFE::PATH_RFE_LNAW ? 0x100 : 0x200;
fpga->WriteRegister(0x17, wr_val);
int ret = LMS7_Device::Calibrate(dir_tx, chan, bw, flags);
fpga->WriteRegister(0x17, value);
