Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

/*
* Functions to write error message to FTDI or USART
*/


#ifndef __ERROR_DRIVER__
#define __ERROR_DRIVER__

#include <avr/io.h>
#include "main.h"



#ifdef DEBUG
extern void errordriver_write_c(uint8_t c);
extern void error_driver_Init(void);
#else
#define errordriver_write_c(c) {}
#define error_driver_init() {}
#endif


#endif //__ERROR_DRIVER__