Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1918 | - | 1 | |
2 | |||
3 | #include <avr/pgmspace.h> |
||
4 | #include <stdbool.h> |
||
5 | //#include "cpu.h" |
||
6 | #include "error_driver.h" |
||
7 | #include "../main.h" |
||
8 | |||
9 | #ifdef DEBUG |
||
10 | |||
11 | #include "../uart/usart.h" |
||
12 | #include "../uart/uart1.h" |
||
13 | |||
14 | |||
15 | void errordriver_write_c(char c) |
||
16 | |||
17 | |||
18 | { |
||
19 | USART_putc(c); |
||
20 | } |
||
21 | |||
22 | void error_driver_Init(void) |
||
23 | { |
||
24 | // USART_Init(UART_BAUD_SELECT(USART_BAUD,F_CPU)); |
||
25 | } |
||
26 | |||
27 | #endif |