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.
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_lamp_control by
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)