mirror of https://github.com/ARMmbed/mbed-os.git
corrected serial port definition of rx test
parent
52c0ccc0f9
commit
21cfe15bc0
|
@ -7,7 +7,7 @@ int main() {
|
|||
MBED_HOSTTEST_DESCRIPTION(Serial NC RX);
|
||||
MBED_HOSTTEST_START("MBED_37");
|
||||
|
||||
Serial *pc = new Serial(NC, USBRX);
|
||||
Serial *pc = new Serial(USBTX, USBRX);
|
||||
|
||||
char c = pc->getc();
|
||||
|
||||
|
|
Loading…
Reference in New Issue