mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
4198222c54
commit
7a8946ff24
|
|
@ -533,7 +533,7 @@ enum Token {
|
|||
*
|
||||
*/
|
||||
static int _get_char() {
|
||||
return getchar();
|
||||
return greentea_serial->getc();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue