Skip to content

Commit c9f9ffa

Browse files
authored
Merge pull request #3140 from bridadan/remove_getchar_greentea_client
[tests] Replacing getchar with RawSerial getc in greentea-client
2 parents 4a4d09f + 7a8946f commit c9f9ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/frameworks/greentea-client/source/test_env.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ enum Token {
533533
*
534534
*/
535535
static int _get_char() {
536-
return getchar();
536+
return greentea_serial->getc();
537537
}
538538

539539
/**

0 commit comments

Comments
 (0)