mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-31 15:07:12 -04:00
M17: fixed clang undefined reference
This commit is contained in:
parent
c582df6030
commit
220e033f34
@ -4,6 +4,7 @@ set(modemm17_SOURCES
|
||||
Correlator.cpp
|
||||
FreqDevEstimator.cpp
|
||||
Golay24.cpp
|
||||
LinkSetupFrame.cpp
|
||||
M17Demodulator.cpp
|
||||
M17Modulator.cpp
|
||||
)
|
||||
|
9
modemm17/LinkSetupFrame.cpp
Normal file
9
modemm17/LinkSetupFrame.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include "LinkSetupFrame.h"
|
||||
|
||||
namespace modemm17
|
||||
{
|
||||
|
||||
const LinkSetupFrame::encoded_call_t LinkSetupFrame::BROADCAST_ADDRESS = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
const LinkSetupFrame::call_t LinkSetupFrame::BROADCAST_CALL = {'B', 'R', 'O', 'A', 'D', 'C', 'A', 'S', 'T', 0};
|
||||
|
||||
}
|
@ -18,8 +18,8 @@ struct LinkSetupFrame
|
||||
using gnss_t = std::array<uint8_t, 14>;
|
||||
using frame_t = std::array<uint8_t, 30>;
|
||||
|
||||
static constexpr encoded_call_t BROADCAST_ADDRESS = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
static constexpr call_t BROADCAST_CALL = {'B', 'R', 'O', 'A', 'D', 'C', 'A', 'S', 'T', 0};
|
||||
static const encoded_call_t BROADCAST_ADDRESS;
|
||||
static const call_t BROADCAST_CALL;
|
||||
|
||||
enum TxType { PACKET, STREAM };
|
||||
enum DataType { DT_RESERVED, DATA, VOICE, MIXED };
|
||||
|
Loading…
Reference in New Issue
Block a user