put a gap between pairs of M17 packets

unstable
Tom Early 4 years ago
parent 721579fef4
commit e1c55b4ca8

@ -4,10 +4,9 @@
# one line per entry
# each entry is explicitely authorised (whitelisted)
# you can use * as last wildcard character
# no definitions means everyone is authorized
# example:
# * -> authorize eveybody
# LX* -> authorize all callsign starting with LX
# LX3JL -> authorize LX3JL exactly
#
#############################################################################
*

@ -82,6 +82,8 @@ 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
}

@ -63,7 +63,7 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 0
#define VERSION_REVISION 0
#define VERSION_REVISION 1
// global ------------------------------------------------------

Loading…
Cancel
Save

Powered by TurnKey Linux.