Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1918 | - | 1 | /* |
2 | * Functions to write error message to FTDI or USART |
||
3 | */ |
||
4 | |||
5 | #ifndef __ERROR_DRIVER__ |
||
6 | #define __ERROR_DRIVER__ |
||
7 | |||
8 | #include <avr/io.h> |
||
9 | #include "../main.h" |
||
10 | |||
11 | |||
12 | |||
13 | #ifdef DEBUG |
||
14 | extern void errordriver_write_c(char c); |
||
15 | extern void error_driver_Init(void); |
||
16 | #else |
||
17 | #define errordriver_write_c(c) {} |
||
18 | #define error_driver_init() {} |
||
19 | #endif |
||
20 | |||
21 | |||
22 | #endif //__ERROR_DRIVER__ |