mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-06 18:23:05 +00:00
Return the right item_size
This commit is contained in:
@@ -28,6 +28,7 @@ target_include_directories(obs_adapters
|
||||
target_link_libraries(obs_adapters
|
||||
PUBLIC
|
||||
obs_gr_blocks
|
||||
core_system_parameters
|
||||
PRIVATE
|
||||
gnss_sdr_flags
|
||||
Glog::glog
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef GNSS_SDR_HYBRID_OBSERVABLES_H
|
||||
#define GNSS_SDR_HYBRID_OBSERVABLES_H
|
||||
|
||||
#include "gnss_synchro.h"
|
||||
#include "hybrid_observables_gs.h"
|
||||
#include "observables_interface.h"
|
||||
#include <gnuradio/gr_complex.h> // for gr_complex
|
||||
@@ -69,7 +70,7 @@ public:
|
||||
//! All blocks must have an item_size() function implementation
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return sizeof(gr_complex);
|
||||
return sizeof(Gnss_Synchro);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user