William Reynolds
/
LPC_Bootloader
Diff: SerialBuffered.cpp
- Revision:
- 2:9e3ee0c6536b
- Parent:
- 0:15536fa79743
- Child:
- 5:6134277e4d57
--- a/SerialBuffered.cpp Thu Sep 29 11:32:52 2011 +0000 +++ b/SerialBuffered.cpp Thu Sep 29 15:09:50 2011 +0000 @@ -28,8 +28,9 @@ } void SerialBuffered::TargetSendString(char * str) { //Sends string to the board for console communication - for (int i=0; i<strlen(str); i++) - target.putc(str[i]); + for (int i=0; i<strlen(str); i++) { + target.putc(str[i]); + } } void SerialBuffered::TargetSendStringAndCR(char * str) { //Sends string to the board for console communication followed by the carriage return character