From 10a5120e40be78bfc64aea0aa380b048ad57a0b9 Mon Sep 17 00:00:00 2001 From: NY00123 Date: Tue, 14 Apr 2020 20:39:04 +0300 Subject: [PATCH] sw/src/network.cpp: I think that it's safe to enable the sync check on the slave side in Master/Slave mode. --- source/sw/src/network.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/sw/src/network.cpp b/source/sw/src/network.cpp index 2924e58da..1072d2f39 100644 --- a/source/sw/src/network.cpp +++ b/source/sw/src/network.cpp @@ -1393,9 +1393,9 @@ getpackets(void) j += NumSyncBytes; } - // #if SYNC_TEST //This doesn't work right in this case - // GetSyncInfoFromPacket(packbufleng, &j, otherconnectindex); - // #endif +#if SYNC_TEST + GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); +#endif for (i=connecthead; i>=0; i=connectpoint2[i]) if (i != myconnectindex)