Skip to content
Snippets Groups Projects
Commit 6349d357 authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

examples/hello-world: return instead of busy loop.

parent c0846fde
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright (C) 2013 Freie Universität Berlin * Copyright (C) 2014 Freie Universität Berlin
* *
* This file is subject to the terms and conditions of the GNU Lesser General * This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file LICENSE in the top level directory for more * Public License. See the file LICENSE in the top level directory for more
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* @brief Hello World application * @brief Hello World application
* *
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
* *
* @} * @}
*/ */
...@@ -22,7 +23,6 @@ ...@@ -22,7 +23,6 @@
int main(void) int main(void)
{ {
puts("Hello World!\n"); puts("Hello World!");
return 0;
while (1);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment