Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
24 johboh 1
#ifndef stackTasks_H
2
#define stackTasks_H
3
 
4
#define USE_CAN
5
#define USE_UART
6
 
7
#define TICKS_PER_SECOND               (100)        // 10ms
8
 
9
#if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255)
10
#error Invalid TICKS_PER_SECONDS specified.
11
#endif
12
 
13
/*
14
 * Manually select prescale value to achieve necessary tick period
15
 * for a given clock frequency.
16
 */
17
#define TICK_PRESCALE_VALUE             (256)
18
 
19
 
20
 
21
#endif