Project

General

Profile

Revision 17

replaced hardcoded value by MACRO

View differences:

timer.c
100 100
            break;
101 101
        case tsf_mode:
102 102
            conf.count_mode = (st & TIMER_MODE_MASK)>>TIMER_MODE_POS;
103
            if(conf.count_mode == 0x6 || conf.count_mode == 0x7)
103
            if(conf.count_mode == TIMER_MODE_2ALT || conf.count_mode == TIMER_MODE_3ALT)
104 104
                conf.count_mode &= TIMER_MODE_RED2;
105 105
            break;
106 106
        case tsf_base:

Also available in: Unified diff