1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime

This commit is contained in:
Javier Arribas 2022-06-15 11:18:56 +02:00
commit 84abe6eaf4
3 changed files with 5 additions and 2 deletions

View File

@ -39,6 +39,9 @@ All notable changes to GNSS-SDR will be documented in this file.
which caused issues when linking with some compilers. which caused issues when linking with some compilers.
- Added support for Xilinx's Zynq UltraScale+ devices (requires the - Added support for Xilinx's Zynq UltraScale+ devices (requires the
`-DENABLE_FPGA=ON` building option). `-DENABLE_FPGA=ON` building option).
- Fixed running time error if the binary is built with the
`-Wp,-D_GLIBCXX_ASSERTIONS` compiler option. This is added by default in some
GNU/Linux distributions.
### Improvements in Usability: ### Improvements in Usability:

View File

@ -133,7 +133,7 @@ int unpack_2bit_samples::work(int noutput_items,
// Handle endian swap if needed // Handle endian swap if needed
if (swap_endian_items_) if (swap_endian_items_)
{ {
work_buffer_.reserve(ninput_bytes); work_buffer_ = std::vector<int8_t>(ninput_bytes);
swapEndianness(in, work_buffer_, item_size_, ninput_items); swapEndianness(in, work_buffer_, item_size_, ninput_items);
in = const_cast<signed char const *>(&work_buffer_[0]); in = const_cast<signed char const *>(&work_buffer_[0]);

View File

@ -234,7 +234,7 @@ TEST(HAS_Test, Decoder)
} }
} }
for (size_t p = init; p < read_pages.get_number_pages(); p++) for (size_t p = init; p < read_pages.get_number_pages() - 1; p++)
{ {
auto has_page = has_tester->generate_has_page(pages[p], rx_time[p]); auto has_page = has_tester->generate_has_page(pages[p], rx_time[p]);
if (!has_page->has_message_string.empty()) // if not dummy if (!has_page->has_message_string.empty()) // if not dummy