minor correction for M17 protocol

pull/3/head
Tom Early 2 years ago
parent 3808dce653
commit 6aa57a784d

@ -54,8 +54,8 @@ void CM17Protocol::Task(void)
std::unique_ptr<CDvFramePacket> Frame;
// handle incoming packets
#if DSTAR_IPV6==true
#if DSTAR_IPV4==true
#if M17_IPV6==true
#if M17_IPV4==true
if ( ReceiveDS(Buffer, Ip, 20) )
#else
if ( Receive6(Buffer, Ip, 20) )
@ -81,8 +81,6 @@ void CM17Protocol::Task(void)
// push the "first" packet
OnDvFramePacketIn(Frame, &Ip);
// leave a space between this pair of frames
std::this_thread::sleep_for(std::chrono::milliseconds(16));
// push the "second" packet
OnDvFramePacketIn(secondFrame, &Ip); // push two packet because we need a packet every 20 ms
}

@ -28,7 +28,7 @@ SJsonKeys g_Keys;
CReflector g_Reflector;
CGateKeeper g_GateKeeper;
CConfigure g_Configure;
CVersion g_Version(3,1,0); // The major byte should only change if the interlink packet changes!
CVersion g_Version(3,1,1); // The major byte should only change if the interlink packet changes!
CLookupDmr g_LDid;
CLookupNxdn g_LNid;
CLookupYsf g_LYtr;

Loading…
Cancel
Save

Powered by TurnKey Linux.