Revision 63
changed
lab2/lab2.c | ||
---|---|---|
48 | 48 |
message msg; |
49 | 49 |
uint8_t timer_id = 0; |
50 | 50 |
no_interrupts = 0; |
51 |
if (timer_subscribe_int(&hook)) return 1;
|
|
52 |
int irq_set = BIT(hook);
|
|
51 |
if (timer_subscribe_int(&timer_id)) return 1;
|
|
52 |
int irq_set = BIT(timer_id);
|
|
53 | 53 |
while (time) { |
54 | 54 |
/* Get a request message. */ |
55 | 55 |
if ((r = driver_receive(ANY, &msg, &ipc_status)) != 0) { |
Also available in: Unified diff