Rev 148 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 148 | Rev 149 | ||
|---|---|---|---|
| Line 15... | Line 15... | ||
| 15 | #include <avr/interrupt.h> |
15 | #include <avr/interrupt.h> |
| 16 | #include <avr/wdt.h> |
16 | #include <avr/wdt.h> |
| 17 | #include <stdio.h> |
17 | #include <stdio.h> |
| 18 | /* lib files */ |
18 | /* lib files */ |
| 19 | #include <can.h> |
19 | #include <can.h> |
| 20 | #include < |
20 | #include <serial.h> |
| 21 | #include <timebase.h> |
21 | #include <timebase.h> |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | /*----------------------------------------------------------------------------- |
24 | /*----------------------------------------------------------------------------- |
| 25 | * Main Program |
25 | * Main Program |
| 26 | *---------------------------------------------------------------------------*/ |
26 | *---------------------------------------------------------------------------*/ |
| 27 | int main(void) { |
27 | int main(void) { |
| 28 | Timebase_Init(); |
28 | Timebase_Init(); |
| 29 |
|
29 | Serial_Init(); |
| 30 | sei(); |
30 | sei(); |
| 31 | 31 | ||
| 32 | printf("\n------------------------------------------------------------\n"); |
32 | printf("\n------------------------------------------------------------\n"); |
| 33 | printf( " CAN Test: Echo\n"); |
33 | printf( " CAN Test: Echo\n"); |
| 34 | printf( "------------------------------------------------------------\n"); |
34 | printf( "------------------------------------------------------------\n"); |