mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
Impl of _write for usage by newlib printf
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user