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.
Dependents: rosserial_mbed_lib
Fork of MODSERIAL by
Diff: MODSERIAL.cpp
- Revision:
- 4:28de979b77cf
- Parent:
- 3:0f10f536456e
- Child:
- 7:ffa4a7cb7f8d
--- a/MODSERIAL.cpp Sun Nov 21 13:58:53 2010 +0000 +++ b/MODSERIAL.cpp Sun Nov 21 14:44:02 2010 +0000 @@ -44,8 +44,7 @@ { disableIrq(); if (buffer[0] != NULL) free((char *)buffer[0]); - if (buffer[1] != NULL) free((char *)buffer[1]); - this_reset(); // See DMA.cpp + if (buffer[1] != NULL) free((char *)buffer[1]); } bool