Rev 149 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 149 | Rev 376 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | /** |
50 | /** |
| 51 | * Initializes the serial communication. Sets the baudrate and redirects |
51 | * Initializes the serial communication. Sets the baudrate and redirects |
| 52 | * STDOUT to the serial communication channel. |
52 | * STDOUT to the serial communication channel. |
| 53 | */ |
53 | */ |
| 54 | void Serial_Init() { |
54 | void Serial_Init() { |
| 55 | uart_init((UART_BAUD_SELECT((SERIAL_BAUDRATE), |
55 | uart_init((UART_BAUD_SELECT((SERIAL_BAUDRATE),F_CPU))); |
| 56 | 56 | ||
| 57 | stdout = &myStdOut; |
57 | stdout = &myStdOut; |
| 58 | } |
58 | } |
| 59 | 59 | ||
| 60 | 60 | ||