hello: fix quota value and integration of timer

Fixes #1028.
This commit is contained in:
Christian Helmuth
2014-01-14 16:15:28 +01:00
committed by Norman Feske
parent 041dd2a133
commit 25b41e9cff
2 changed files with 18 additions and 7 deletions

View File

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