Repository: incubator-mynewt-core Updated Branches: refs/heads/develop f1fcdb91b -> 98c9ab1b4
apps; update comment about what main() means/does. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/98c9ab1b Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/98c9ab1b Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/98c9ab1b Branch: refs/heads/develop Commit: 98c9ab1b48faf645525378c7cb98732463f649a1 Parents: f1fcdb9 Author: Marko Kiiskila <[email protected]> Authored: Wed Jan 25 15:34:54 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Wed Jan 25 15:34:54 2017 -0800 ---------------------------------------------------------------------- apps/bleprph/src/main.c | 5 ++--- apps/bleprph_oic/src/main.c | 5 ++--- apps/blesplit/src/main.c | 5 ++--- apps/bletest/src/main.c | 5 ++--- apps/bletiny/src/main.c | 5 ++--- apps/bleuart/src/main.c | 5 ++--- apps/slinky/src/main.c | 6 +++--- apps/slinky_oic/src/main.c | 6 +++--- apps/spitest/src/main.c | 6 +++--- apps/splitty/src/main.c | 6 +++--- apps/timtest/src/main.c | 6 +++--- 11 files changed, 27 insertions(+), 33 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/bleprph/src/main.c ---------------------------------------------------------------------- diff --git a/apps/bleprph/src/main.c b/apps/bleprph/src/main.c index e75264d..0153d36 100755 --- a/apps/bleprph/src/main.c +++ b/apps/bleprph/src/main.c @@ -242,9 +242,8 @@ bleprph_on_sync(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/bleprph_oic/src/main.c ---------------------------------------------------------------------- diff --git a/apps/bleprph_oic/src/main.c b/apps/bleprph_oic/src/main.c index 04ca451..514584f 100755 --- a/apps/bleprph_oic/src/main.c +++ b/apps/bleprph_oic/src/main.c @@ -328,9 +328,8 @@ static const oc_handler_t omgr_oc_handler = { /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/blesplit/src/main.c ---------------------------------------------------------------------- diff --git a/apps/blesplit/src/main.c b/apps/blesplit/src/main.c index e805c7c..92a7cb8 100755 --- a/apps/blesplit/src/main.c +++ b/apps/blesplit/src/main.c @@ -242,9 +242,8 @@ blesplit_on_sync(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/bletest/src/main.c ---------------------------------------------------------------------- diff --git a/apps/bletest/src/main.c b/apps/bletest/src/main.c index 0f8546c..79f7e98 100755 --- a/apps/bletest/src/main.c +++ b/apps/bletest/src/main.c @@ -1247,9 +1247,8 @@ bletest_task_handler(void *arg) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/bletiny/src/main.c ---------------------------------------------------------------------- diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c index 6ce53ad..9403bfd 100755 --- a/apps/bletiny/src/main.c +++ b/apps/bletiny/src/main.c @@ -1561,9 +1561,8 @@ bletiny_on_reset(int reason) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/bleuart/src/main.c ---------------------------------------------------------------------- diff --git a/apps/bleuart/src/main.c b/apps/bleuart/src/main.c index 094c2fa..6147fcd 100755 --- a/apps/bleuart/src/main.c +++ b/apps/bleuart/src/main.c @@ -173,9 +173,8 @@ bleuart_on_sync(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/slinky/src/main.c ---------------------------------------------------------------------- diff --git a/apps/slinky/src/main.c b/apps/slinky/src/main.c index b619356..7ab13d6 100755 --- a/apps/slinky/src/main.c +++ b/apps/slinky/src/main.c @@ -236,9 +236,9 @@ init_tasks(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, calls + * init_tasks to initialize additional tasks (and possibly other objects), + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/slinky_oic/src/main.c ---------------------------------------------------------------------- diff --git a/apps/slinky_oic/src/main.c b/apps/slinky_oic/src/main.c index 9c65537..41595ae 100755 --- a/apps/slinky_oic/src/main.c +++ b/apps/slinky_oic/src/main.c @@ -250,9 +250,9 @@ init_tasks(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, calls + * init_tasks to initialize additional tasks (and possibly other objects), + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/spitest/src/main.c ---------------------------------------------------------------------- diff --git a/apps/spitest/src/main.c b/apps/spitest/src/main.c index 2e390f9..8a7c012 100755 --- a/apps/spitest/src/main.c +++ b/apps/spitest/src/main.c @@ -411,9 +411,9 @@ init_tasks(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, calls + * init_tasks to initialize additional tasks (and possibly other objects), + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/splitty/src/main.c ---------------------------------------------------------------------- diff --git a/apps/splitty/src/main.c b/apps/splitty/src/main.c index f487381..9bf5ca6 100755 --- a/apps/splitty/src/main.c +++ b/apps/splitty/src/main.c @@ -168,9 +168,9 @@ init_tasks(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, calls + * init_tasks to initialize additional tasks (and possibly other objects), + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98c9ab1b/apps/timtest/src/main.c ---------------------------------------------------------------------- diff --git a/apps/timtest/src/main.c b/apps/timtest/src/main.c index 1326612..ff6ace0 100755 --- a/apps/timtest/src/main.c +++ b/apps/timtest/src/main.c @@ -185,9 +185,9 @@ init_tasks(void) /** * main * - * The main function for the project. This function initializes the os, calls - * init_tasks to initialize tasks (and possibly other objects), then starts the - * OS. We should not return from os start. + * The main task for the project. This function initializes the packages, calls + * init_tasks to initialize additional tasks (and possibly other objects), + * then starts serving events from default event queue. * * @return int NOTE: this function should never return! */
