Moved putchar into separate file to make it easier to override its implementation
This commit is contained in:
parent
36eae6fcdf
commit
790f2f632a
3 changed files with 18 additions and 11 deletions
9
cpu/msp430/dev/uart1-putchar.c
Normal file
9
cpu/msp430/dev/uart1-putchar.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <stdio.h>
|
||||
#include "dev/uart1.h"
|
||||
|
||||
int
|
||||
putchar(int c)
|
||||
{
|
||||
uart1_writeb((char)c);
|
||||
return c;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue