#include "dbg_printf.h" #include "uart1.h" /*-------------------------------------------------------------------------*//** * @brief Puts a character to file * @param[in] ch * Character to put * @param[in] f * Pointer to file * @return character * @note if you use IAR EWARM, select Full as Options/General Options/Library Configuration/Library. *//*-------------------------------------------------------------------------*/ int fputc( int ch, FILE* f ) { Uart1_Transmit(ch); return( ch ); }