Skip to content

Commit

Permalink
re-enable oversampling, need to debug later
Browse files Browse the repository at this point in the history
  • Loading branch information
cwozny committed Sep 12, 2023
1 parent 7e5571c commit a36a758
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/record_iq_blade.cpp
Expand Up @@ -117,15 +117,15 @@ int main(const int argc, const char *argv[])

// Set relevant features of device

status = bladerf_enable_feature(dev, BLADERF_FEATURE_DEFAULT, true);
status = bladerf_enable_feature(dev, BLADERF_FEATURE_OVERSAMPLE, true);

if (status == 0)
{
std::cout << "Feature = DEFAULT" << std::endl;
std::cout << "Feature = OVERSAMPLE" << std::endl;
}
else
{
std::cout << "Failed to set feature = DEFAULT: " << bladerf_strerror(status) << std::endl;
std::cout << "Failed to set feature = OVERSAMPLE: " << bladerf_strerror(status) << std::endl;
bladerf_close(dev);
return 1;
}
Expand Down

0 comments on commit a36a758

Please sign in to comment.