
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Revision 120:d4d44550e087, committed 2015-05-20
- Comitter:
- xinlei
- Date:
- Wed May 20 13:17:19 2015 +0000
- Parent:
- 119:f85151fa1a8a
- Child:
- 121:68217ccb8cd1
- Commit message:
- disableDebug defautls to error/warning, agent wait 400 ms when sending
Changed in this revision
MbedAgent.cpp | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MbedAgent.cpp Wed May 20 10:19:52 2015 +0000 +++ b/MbedAgent.cpp Wed May 20 13:17:19 2015 +0000 @@ -107,7 +107,7 @@ int l2 = reporters[i]->read(buf2+l, sizeof(buf2)-l, status, DISPLAY_LEN); if (l2) { // Refresh LCD display needed LCDDisplay::inst().setThirdLine(status); - Thread::wait(300); + Thread::wait(400); } else if (!lcdThirdLineBlank && !l2) { // Clear LCD display needed LCDDisplay::inst().setThirdLine(""); Thread::wait(100);
--- a/main.cpp Wed May 20 10:19:52 2015 +0000 +++ b/main.cpp Wed May 20 13:17:19 2015 +0000 @@ -44,9 +44,9 @@ static void disableDebug() { - setLevel(A_NONE); + setLevel(A_WARNING); if (pMdm) - pMdm->setDebug(-1); + pMdm->setDebug(0); } static void shutdown()