Skip to content

Instantly share code, notes, and snippets.

@lategoodbye
Created March 29, 2016 19:25
Show Gist options
  • Save lategoodbye/79f8b487d78522cdaaeb0de8c857d2a7 to your computer and use it in GitHub Desktop.
Save lategoodbye/79f8b487d78522cdaaeb0de8c857d2a7 to your computer and use it in GitHub Desktop.
diff --git a/bin/mbus-tcp-request-data-multi-reply.c b/bin/mbus-tcp-request-data-multi-reply.c
index 8cc1d2e..3d850d3 100755
--- a/bin/mbus-tcp-request-data-multi-reply.c
+++ b/bin/mbus-tcp-request-data-multi-reply.c
@@ -31,6 +31,8 @@ init_slaves(mbus_handle *handle)
return 0;
}
+ sleep(1);
+
//
// resend SND_NKE, maybe the first get lost
//
@@ -43,6 +45,8 @@ init_slaves(mbus_handle *handle)
return 0;
}
+ sleep(1);
+
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment