diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-04-22 05:18:40 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-04-22 05:18:40 +0200 |
commit | 2009dcd0494a671e2492aa865e690446388c7a5a (patch) | |
tree | 76b2da61393d8f4dbacef2d4474fdee5ea42e056 /src/fig/FIG0_17.cpp | |
parent | dd14214e1ad46b9fa323be7e7e13c55c30085a67 (diff) | |
download | dabmux-2009dcd0494a671e2492aa865e690446388c7a5a.tar.gz dabmux-2009dcd0494a671e2492aa865e690446388c7a5a.tar.bz2 dabmux-2009dcd0494a671e2492aa865e690446388c7a5a.zip |
Move all FIG structures to cpp files, fix FIG0_21 rfa
Diffstat (limited to 'src/fig/FIG0_17.cpp')
-rw-r--r-- | src/fig/FIG0_17.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fig/FIG0_17.cpp b/src/fig/FIG0_17.cpp index 2f5f03e..03d8814 100644 --- a/src/fig/FIG0_17.cpp +++ b/src/fig/FIG0_17.cpp @@ -23,11 +23,25 @@ along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>. */ +#include "fig/FIG0structs.h" #include "fig/FIG0_17.h" #include "utils.h" namespace FIC { +struct FIGtype0_17 { + uint16_t SId; + + uint8_t rfa2_high:4; + uint8_t rfu1:2; + uint8_t rfa1:1; + uint8_t SD:1; // Static/Dynamic + + uint8_t IntCode:5; + uint8_t rfu2:1; + uint8_t rfa2_low:2; +} PACKED; + FIG0_17::FIG0_17(FIGRuntimeInformation *rti) : m_rti(rti), m_initialised(false) |