summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:57:47 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:57:47 +0200
commit1aeaeb05aadf196636ea5b6a0613c38111821436 (patch)
treef2d38aa2440089eac599e7f455cf4c301dca08d0 /src/fig/FIG0.cpp
parent97cbd6234058ce1514b5696609ee7bd1f8e6a761 (diff)
downloaddabmux-1aeaeb05aadf196636ea5b6a0613c38111821436.tar.gz
dabmux-1aeaeb05aadf196636ea5b6a0613c38111821436.tar.bz2
dabmux-1aeaeb05aadf196636ea5b6a0613c38111821436.zip
Make getSizeCu a dabSubchannel member function
Diffstat (limited to 'src/fig/FIG0.cpp')
-rw-r--r--src/fig/FIG0.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index ca5a4a6..41cf9f2 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -208,9 +208,9 @@ FillStatus FIG0_1::fill(uint8_t *buf, size_t max_size)
protection->level;
fig0_1subchLong1->Sub_ChannelSize_high =
- getSizeCu(*subchannelFIG0_1) / 256;
+ (*subchannelFIG0_1)->getSizeCu() / 256;
fig0_1subchLong1->Sub_ChannelSize_low =
- getSizeCu(*subchannelFIG0_1) % 256;
+ (*subchannelFIG0_1)->getSizeCu() % 256;
buf += 4;
remaining -= 4;