Project

General

Profile

Revision 13

You can work now

View differences:

timer.c
25 25
    if (sys_outb(TIMER_CTRL, write_cmd)) return 1;
26 26

  
27 27
    // counter_init = clock/freq
28
    uint16_t counter_init = (uint16_t)(TIMER_FREQ / freq);
28
    // uint16_t counter_init = (uint16_t)(TIMER_FREQ / freq);
29 29

  
30 30
    int timer_port = 0;
31 31
    switch(timer) {

Also available in: Unified diff