mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-16 15:17:22 +00:00
Fix code formatting
This commit is contained in:
@@ -684,8 +684,7 @@ int labsat23_source::read_ls3w_ini(const std::string &filename)
|
||||
}
|
||||
}
|
||||
|
||||
const auto channel_handler = [this, &ini_reader, &empty_string](const std::string &channel_char, int32_t &cf, int32_t &bw, int32_t &buffer_size, std::vector<uint64_t> &buffer)
|
||||
{
|
||||
const auto channel_handler = [this, &ini_reader, &empty_string](const std::string &channel_char, int32_t &cf, int32_t &bw, int32_t &buffer_size, std::vector<uint64_t> &buffer) {
|
||||
const auto channel_name = "channel " + channel_char;
|
||||
|
||||
if (ini_reader->HasSection(channel_name))
|
||||
@@ -1099,8 +1098,7 @@ int labsat23_source::parse_ls4_data(int noutput_items, std::vector<gr_complex *>
|
||||
{
|
||||
gr_complex *aux = out[channel_index];
|
||||
|
||||
const auto data_parser = [shift, item_count, output_index](uint64_t data_index, int32_t qua, std::vector<uint64_t> &data, gr_complex *out_samples)
|
||||
{
|
||||
const auto data_parser = [shift, item_count, output_index](uint64_t data_index, int32_t qua, std::vector<uint64_t> &data, gr_complex *out_samples) {
|
||||
std::bitset<64> bs(data[data_index % data.size()]);
|
||||
invert_bitset(bs);
|
||||
|
||||
@@ -1152,8 +1150,7 @@ int labsat23_source::parse_ls4_data(int noutput_items, std::vector<gr_complex *>
|
||||
|
||||
bool labsat23_source::read_ls4_data()
|
||||
{
|
||||
const auto read_file = [this](int size, auto &data)
|
||||
{
|
||||
const auto read_file = [this](int size, auto &data) {
|
||||
if (size > 0)
|
||||
{
|
||||
binary_input_file.read(reinterpret_cast<char *>(data.data()), size);
|
||||
|
||||
Reference in New Issue
Block a user