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

This commit is contained in:
Ludwig Ortmann 2014-04-03 18:29:04 +02:00
parent c0846fde22
commit 6349d357cd

View File

@ -1,5 +1,5 @@
/* /*
* 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 @@
* @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 @@
int main(void) int main(void)
{ {
puts("Hello World!\n"); puts("Hello World!");
return 0;
while (1);
} }