Skip to content

Commit c893c62

Browse files
authored
Merge pull request #48 from WestfW/master
Remove printf call from _exit in syscalls_sam3.c
2 parents 2a17b0d + d7aa5cc commit c893c62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/arduino/syscalls_sam3.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ extern int _write( UNUSED(int file), char *ptr, int len )
132132

133133
extern void _exit( int status )
134134
{
135-
printf( "Exiting with status %d.\n", status ) ;
135+
// printf is probably not set up by Arduino, and shouldn't be used.
136+
// printf( "Exiting with status %d.\n", status ) ;
136137

137138
for ( ; ; ) ;
138139
}

0 commit comments

Comments
 (0)