Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1472 | - | 1 | #include "cpu.h" |
2 | #include "error_driver.h" |
||
3 | #include "main.h" |
||
4 | |||
5 | #ifdef DEBUG |
||
6 | |||
7 | #include "usart.h" |
||
8 | #include "uart1.h" |
||
9 | |||
10 | |||
11 | void error_driver_write_c(uint8_t c) |
||
12 | { |
||
13 | USART_putc(c); |
||
14 | } |
||
15 | |||
16 | void error_driver_Init(void) |
||
17 | { |
||
18 | // USART_Init(UART_BAUD_SELECT(USART_BAUD,F_CPU)); |
||
19 | } |
||
20 | |||
21 | #endif |