Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MTS-Cellular by
Diff: Utils/Terminal.cpp
- Revision:
- 4:1f63354b8d1b
- Parent:
- 1:f155d94d6f3a
diff -r 04046eebaef5 -r 1f63354b8d1b Utils/Terminal.cpp --- a/Utils/Terminal.cpp Tue May 20 15:21:06 2014 -0500 +++ b/Utils/Terminal.cpp Tue May 20 16:11:38 2014 -0500 @@ -1,4 +1,6 @@ +#include "mbed.h" #include "Terminal.h" +#include "MTSLog.h" using namespace mts; @@ -15,7 +17,7 @@ void Terminal::start() { //Setup terminal session - printf("Starting Terminal Mode.\n\r"); + logInfo("Starting Terminal Mode.\n\r"); char buffer[256]; bool running = true; @@ -49,5 +51,5 @@ //Cleanup and return io->txClear(); io->rxClear(); - printf("\n\rExited Terminal Mode.\n\r"); -} \ No newline at end of file + logInfo("\n\rExited Terminal Mode.\n\r"); +}