Impl of _write for usage by newlib printf

This commit is contained in:
Christina Quast 2015-04-06 19:47:22 +02:00
parent 1e15cb6616
commit 5958587fd1
1 changed files with 1 additions and 6 deletions

View File

@ -111,18 +111,13 @@ extern int _read(int file, char *ptr, int len)
extern int _write( int file, char *ptr, int len )
{
/*
int iIndex ;
int iIndex ;
// for ( ; *ptr != 0 ; ptr++ )
for ( iIndex=0 ; iIndex < len ; iIndex++, ptr++ )
{
UART_PutChar( *ptr ) ;
}
return iIndex ;
*/
return -1;
}
extern void _exit( int status )