Moved putchar into separate file to make it easier to override its implementation

This commit is contained in:
adamdunkels 2009-10-30 15:06:26 +00:00
parent 36eae6fcdf
commit 790f2f632a
3 changed files with 18 additions and 11 deletions

View file

@ -0,0 +1,9 @@
#include <stdio.h>
#include "dev/uart1.h"
int
putchar(int c)
{
uart1_writeb((char)c);
return c;
}