added fxs to class
Dependents: ard2pmod_demo MAXREFDES130_Demo OneWire_DS18B20_Demo MAXREFDES132_OneWire_Demo
Fork of Terminal by
Diff: Terminal.cpp
- Revision:
- 7:aa29b7e10cd8
- Parent:
- 6:419eea2fe960
- Child:
- 8:9ab22fc6e88b
--- a/Terminal.cpp Sat Jul 30 20:14:05 2016 +0000 +++ b/Terminal.cpp Mon Mar 06 23:17:02 2017 +0000 @@ -77,7 +77,7 @@ str[idx++] = this->getc(); } } - while((str[idx-1] != 0x0A) && (idx < 12)); + while((str[idx-1] != 0x0A) && (idx < 12)); //Remove trailing newline and CR, if there. if((strlen(str) > 0 ) && (str[strlen(str) - 1] == 0x0A) && (str[strlen(str) - 2] == 0x0D))