You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/02 13:26:36 UTC

[GitHub] rymanluk closed pull request #919: nimble/mesh: Fix simulator segmentation fault on mesh init

rymanluk closed pull request #919: nimble/mesh: Fix simulator segmentation fault on mesh init
URL: https://github.com/apache/mynewt-core/pull/919
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/apps/blemesh/src/main.c b/apps/blemesh/src/main.c
index e6b1a3c8c..fb6a8e361 100644
--- a/apps/blemesh/src/main.c
+++ b/apps/blemesh/src/main.c
@@ -408,8 +408,13 @@ blemesh_on_sync(void)
 }
 
 int
-main(void)
+main(int argc, char **argv)
 {
+
+#ifdef ARCH_sim
+    mcu_sim_parse_args(argc, argv);
+#endif
+
     /* Initialize OS */
     sysinit();
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services