Revision 46
minor change
lab2/lab2.c | ||
---|---|---|
46 | 46 |
const int frequency = 60; // Frequency asummed at 60Hz |
47 | 47 |
int ipc_status, r; |
48 | 48 |
message msg; |
49 |
uint8_t hook = 0;
|
|
49 |
uint8_t timer_id = 0;
|
|
50 | 50 |
no_interrupts = 0; |
51 | 51 |
if (timer_subscribe_int(&hook)) return 1; |
52 | 52 |
int irq_set = BIT(hook); |
Also available in: Unified diff