Revision 12
Fix timer.c
timer.c | ||
---|---|---|
29 | 29 |
|
30 | 30 |
int timer_port = 0; |
31 | 31 |
switch(timer) { |
32 |
case 0: read_port = TIMER_0; break;
|
|
33 |
case 1: read_port = TIMER_1; break;
|
|
34 |
case 2: read_port = TIMER_2; break;
|
|
32 |
case 0: timer_port = TIMER_0; break;
|
|
33 |
case 1: timer_port = TIMER_1; break;
|
|
34 |
case 2: timer_port = TIMER_2; break;
|
|
35 | 35 |
default: return 1; break; |
36 | 36 |
} |
37 | 37 |
|
38 |
|
|
39 | 38 |
|
39 |
|
|
40 | 40 |
return 1; |
41 | 41 |
} |
42 | 42 |
|
Also available in: Unified diff