Remove timer from hello run script (fix #629)

Currently, the hello run script of the hello_tutorial misses some services the
timer driver needs on various platforms. The hello_tutorial is meant for
educational purposes only. So it's desireable to keep it simple. Instead of
complexifying the configuration, this commit just removes the timer from the
example.
This commit is contained in:
Stefan Kalkowski
2013-01-22 12:36:13 +01:00
committed by Norman Feske
parent 04b8418b54
commit 4f69bd9fb8
2 changed files with 1 additions and 9 deletions

View File

@ -14,7 +14,6 @@
#include <base/env.h>
#include <base/printf.h>
#include <hello_session/client.h>
#include <timer_session/connection.h>
#include <hello_session/connection.h>
using namespace Genode;
@ -23,15 +22,11 @@ int main(void)
{
Hello::Connection h;
Timer::Connection timer;
while (1) {
h.say_hello();
timer.msleep(1000);
int foo = h.add(2, 5);
PDBG("Added 2 + 5 = %d", foo);
timer.msleep(1000);
}
return 0;