Replacing getchar with RawSerial getc in greentea-client.

This change prevents the standard library from allocating a large buffer
on the heap. On GCC_ARM, this is a saving of 1K. On ARM, this is a saving
of 64 bytes.
pull/3140/head
Brian Daniels 2016-10-26 16:55:49 -05:00
parent 4198222c54
commit 7a8946ff24
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ enum Token {
*
*/
static int _get_char() {
return getchar();
return greentea_serial->getc();
}
/**