1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-04 20:08:00 +00:00

fix: add default channel count value

This commit is contained in:
pedromiguelcp
2025-07-11 14:33:20 +01:00
parent 5927ca5e47
commit b4e71654e4

View File

@@ -41,7 +41,8 @@ NTLabFileSignalSource::NTLabFileSignalSource(
n_channels_ = configuration->property(role + ".RF_channels", default_n_channlels_);
if ((n_channels_ != 1) && (n_channels_ != 2) && (n_channels_ != 4))
{
LOG(ERROR) << "Number of channels must be 1, 2 or 4 (got " << n_channels_ << ")";
n_channels_ = 4;
LOG(ERROR) << "Number of channels must be 1, 2 or 4 (got " << n_channels_ << "). Using 4.";
}
if (in_streams > 0)