![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: MbedAgent.cpp
- Revision:
- 124:979ab0d075de
- Parent:
- 121:68217ccb8cd1
- Child:
- 125:e1fcf720c63a
--- a/MbedAgent.cpp Fri May 29 12:05:01 2015 +0000 +++ b/MbedAgent.cpp Mon Jun 01 11:24:17 2015 +0000 @@ -103,7 +103,7 @@ while (true) { int l = 0; for (size_t i = 0; i < N; ++i) { -// if (reporters[i] == &ConfigSync::inst()) { + if (reporters[i] == &ConfigSync::inst()) { int l2 = reporters[i]->read(buf2+l, sizeof(buf2)-l, status, DISPLAY_LEN); if (l2) { // Refresh LCD display needed LCDDisplay::inst().setThirdLine(status); @@ -114,7 +114,7 @@ } lcdThirdLineBlank = !l2; l += l2; -// } + } } if (l) { l = snprintf(buf, sizeof(buf), fmtSmartRest, "/s", l, buf2);