diff options
author | Mark Meserve <mark.meserve@ni.com> | 2017-09-27 17:42:06 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:01 -0800 |
commit | 3f8dcf16213d5e06a49a0dd3746de1cb290a1f48 (patch) | |
tree | 078516a1f9ed888d7c828065047617d1b96cd6ab /mpm/lib/mykonos/config/ad937x_fir.hpp | |
parent | f58a4f20c54dea2cc12e2912c43a8cda597b345c (diff) | |
download | uhd-3f8dcf16213d5e06a49a0dd3746de1cb290a1f48.tar.gz uhd-3f8dcf16213d5e06a49a0dd3746de1cb290a1f48.tar.bz2 uhd-3f8dcf16213d5e06a49a0dd3746de1cb290a1f48.zip |
ad937x: update ad937x_fir
add comment
label get_fir as const
Diffstat (limited to 'mpm/lib/mykonos/config/ad937x_fir.hpp')
-rw-r--r-- | mpm/lib/mykonos/config/ad937x_fir.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mpm/lib/mykonos/config/ad937x_fir.hpp b/mpm/lib/mykonos/config/ad937x_fir.hpp index f243f0f47..12fb3c5ef 100644 --- a/mpm/lib/mykonos/config/ad937x_fir.hpp +++ b/mpm/lib/mykonos/config/ad937x_fir.hpp @@ -20,7 +20,8 @@ #include "../adi/t_mykonos.h" #include <vector> -// wraps FIR allocation and provides a fixed mykonosFir_t pointer +// wraps FIR allocation +// provides a fixed mykonosFir_t pointer for API consumption class ad937x_fir { std::vector<int16_t> _fir_coefficients; @@ -31,5 +32,5 @@ public: ad937x_fir(int8_t gain, const std::vector<int16_t>& coefficients); void set_fir(int8_t gain, const std::vector<int16_t>& coefficients); - std::vector<int16_t> get_fir(int8_t &gain); + std::vector<int16_t> get_fir(int8_t &gain) const; }; |