Revision 7
Work on utils.c
timer.c | ||
---|---|---|
37 | 37 |
if(sys_outb(write_port, cmd)) return 1; |
38 | 38 |
|
39 | 39 |
int read_port; |
40 |
switch(timer){ |
|
40 |
switch(timer) {
|
|
41 | 41 |
case 0: read_port = TIMER_0; break; |
42 | 42 |
case 1: read_port = TIMER_1; break; |
43 | 43 |
case 2: read_port = TIMER_2; break; |
Also available in: Unified diff