aboutsummaryrefslogtreecommitdiffstats
path: root/src/PhaseReference.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-29 22:55:41 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-29 22:55:41 +0100
commit933021ed44e6c1bd2cf1dee91fc033c145c061af (patch)
tree394a40921470502054b678924d060fc5b882fc91 /src/PhaseReference.cpp
parent004ff5c13515f61728245ccd3d1f281be987b041 (diff)
downloaddabmod-933021ed44e6c1bd2cf1dee91fc033c145c061af.tar.gz
dabmod-933021ed44e6c1bd2cf1dee91fc033c145c061af.tar.bz2
dabmod-933021ed44e6c1bd2cf1dee91fc033c145c061af.zip
Change to 16-bit fixed point
Diffstat (limited to 'src/PhaseReference.cpp')
-rw-r--r--src/PhaseReference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PhaseReference.cpp b/src/PhaseReference.cpp
index d7b89bf..e2fb9a9 100644
--- a/src/PhaseReference.cpp
+++ b/src/PhaseReference.cpp
@@ -137,8 +137,8 @@ complexf PhaseRefGen<complexf>::convert(uint8_t data) {
template <>
complexfix PhaseRefGen<complexfix>::convert(uint8_t data) {
- constexpr auto one = fpm::fixed_16_16{1};
- constexpr auto zero = fpm::fixed_16_16{0};
+ constexpr auto one = fixed_16{1};
+ constexpr auto zero = fixed_16{0};
const complexfix value[] = {
complexfix(one, zero),