diff options
Diffstat (limited to 'gr-vrt/src')
-rw-r--r-- | gr-vrt/src/vrt_quadradio_source_32fc.h | 5 | ||||
-rw-r--r-- | gr-vrt/src/vrt_source_32fc.cc | 3 | ||||
-rw-r--r-- | gr-vrt/src/vrt_source_32fc.h | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/gr-vrt/src/vrt_quadradio_source_32fc.h b/gr-vrt/src/vrt_quadradio_source_32fc.h index 45dad1f89..bb3935c46 100644 --- a/gr-vrt/src/vrt_quadradio_source_32fc.h +++ b/gr-vrt/src/vrt_quadradio_source_32fc.h @@ -120,8 +120,9 @@ public: double get_lo_freq(void){return d_lo_freq;} bool get_lo_locked(void){return d_lo_locked;} double get_caldiv_temp(void){return d_caldiv_temp;} - int get_caldiv_serial(void){return d_caldiv_rev;} - int get_caldiv_revision(void){return d_caldiv_ser;} + int get_caldiv_revision(void){return d_caldiv_rev;} + int get_caldiv_serial(void){return d_caldiv_ser;} + int get_caldiv_model(void){return d_caldiv_mod;} //gps public access methods int get_utc_time(void){return d_utc_time;} diff --git a/gr-vrt/src/vrt_source_32fc.cc b/gr-vrt/src/vrt_source_32fc.cc index 3035813cc..e56e3f2ad 100644 --- a/gr-vrt/src/vrt_source_32fc.cc +++ b/gr-vrt/src/vrt_source_32fc.cc @@ -178,8 +178,9 @@ vrt_source_32fc::work(int noutput_items, d_cal_locked = bool(ntohx(h.get_if_context()->caldiv.cal_locked)); d_cal_enabled = bool(ntohx(h.get_if_context()->caldiv.cal_enabled)); d_caldiv_temp = vrt_temp_to_double(ntohx(h.get_if_context()->caldiv.temp)); - d_caldiv_ser = ntohx(h.get_if_context()->caldiv.ser); d_caldiv_rev = ntohx(h.get_if_context()->caldiv.rev); + d_caldiv_ser = ntohx(h.get_if_context()->caldiv.ser); + d_caldiv_mod = ntohx(h.get_if_context()->caldiv.mod); //extract gps stuff d_utc_time = ntohx(h.get_if_context()->gps.formatted_gps.integer_secs); d_altitude = vrt_altitude_to_double(ntohx(h.get_if_context()->gps.formatted_gps.altitude)); diff --git a/gr-vrt/src/vrt_source_32fc.h b/gr-vrt/src/vrt_source_32fc.h index 46d80f442..c43170e83 100644 --- a/gr-vrt/src/vrt_source_32fc.h +++ b/gr-vrt/src/vrt_source_32fc.h @@ -43,6 +43,7 @@ protected: double d_caldiv_temp; int d_caldiv_rev; int d_caldiv_ser; + int d_caldiv_mod; //gps settings parsed from if context int d_utc_time; |