fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088
Fork of mbed-src by
Diff: cpp/stdio.cpp
- Revision:
- 8:4e25b8576136
- Parent:
- 7:3a1b3e92fa02
--- a/cpp/stdio.cpp Wed Apr 24 15:11:33 2013 +0000 +++ b/cpp/stdio.cpp Thu May 30 16:59:31 2013 +0100 @@ -128,7 +128,7 @@ } else if (std::strcmp(name, __stdout_name) == 0) { init_serial(); return 1; - } else if (std::strcmp(name,__stderr_name) == 0) { + } else if (std::strcmp(name, __stderr_name) == 0) { init_serial(); return 2; }