diff --git a/reflector/M17Protocol.cpp b/reflector/M17Protocol.cpp index 2516389..d51dfbd 100644 --- a/reflector/M17Protocol.cpp +++ b/reflector/M17Protocol.cpp @@ -54,8 +54,8 @@ void CM17Protocol::Task(void) std::unique_ptr 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 } diff --git a/reflector/Main.cpp b/reflector/Main.cpp index 2ebd59b..db9968d 100644 --- a/reflector/Main.cpp +++ b/reflector/Main.cpp @@ -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;