sevencore fota solution development project
Diff: ext_fota/BleMsgHandler.cpp
- Revision:
- 2:dba344c91bce
- Parent:
- 1:5cf3a6c969be
- Child:
- 3:1e70387e1337
--- a/ext_fota/BleMsgHandler.cpp Mon Jun 22 07:36:06 2015 +0000 +++ b/ext_fota/BleMsgHandler.cpp Mon Jun 22 09:43:13 2015 +0000 @@ -6,6 +6,7 @@ { print_flag = 0; device = _device; + SerialM = new SerialManager(_device); } BleMsgHandler::BleMsgHandler(Serial *_device, Serial *_hostpc) @@ -13,10 +14,12 @@ print_flag = 1; device = _device; hostpc = _hostpc; + SerialM = new SerialManager(_device,_hostpc); } BleMsgHandler::~BleMsgHandler(void) { + free(SerialM); } void BleMsgHandler::PrintTitle(void)