Add simple re-try sync mechanism

This commit is contained in:
2021-07-06 09:22:59 +02:00
parent 300d992acf
commit 298db2cab5
2 changed files with 22 additions and 72 deletions
-3
View File
@@ -1,8 +1,5 @@
namespace sync_config
{
// If the modules are offset more than 1000 pulses, crush.
const uint64_t PULSE_OFFSET_LIMIT = 100;
// Number of times we try to re-sync in case of failure.
const int SYNC_RETRY_LIMIT = 3;