UART Command Parser Time Manager Data Store for SD Card for stm32l476 [it's not Licensed as BSD/GPLx]
Dependencies: mbed SDFileSystem
Diff: event.cpp
- Revision:
- 13:7cda5bef6390
- Parent:
- 8:b18a8764ecae
- Child:
- 17:c2709a9c0a68
diff -r a45a9c65dc03 -r 7cda5bef6390 event.cpp --- a/event.cpp Wed May 22 09:10:18 2019 +0000 +++ b/event.cpp Mon May 27 03:07:42 2019 +0000 @@ -176,7 +176,7 @@ pC->reply(false, 3); return 1; } - pUart->printf(":%d CFG 0004 %04x\n", pC->getDeviceID(), getvalue); + uprintf(":%d CFG 0004 %04x\n", pC->getDeviceID(), getvalue); return 0; } @@ -277,6 +277,6 @@ char timestamp[TimeManager::TimeStampLength + 1] = {0}; Serial *pUart = pC->getCurrentUart(); len = pTM->getTimeStamp(timestamp); - pUart->printf(":%d RTS %04d %s\n", pC->getDeviceID(), len, timestamp); + uprintf(":%d RTS %04d %s\n", pC->getDeviceID(), len, timestamp); return 0; } \ No newline at end of file