Revision 24
update variables
lab2.c | ||
---|---|---|
45 | 45 |
int(timer_test_int)(uint8_t time) { |
46 | 46 |
int ipc_status, r; |
47 | 47 |
message msg; |
48 |
uint8_t irq_set = 1; |
|
49 | 48 |
uint8_t hook = 0; |
50 | 49 |
no_interrupts = 0; |
50 |
uint8_t irq_set = 1; |
|
51 | 51 |
int freq = 60; // better way to get the frequency of the timer???? |
52 | 52 |
|
53 | 53 |
timer_subscribe_int(&hook); |
Also available in: Unified diff