BufferedSoftSerial patch

Dependencies:   SoftSerial

Fork of BufferedSoftSerial by Erik -

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Sat Jul 05 08:08:07 2014 +0000
Parent:
8:a0fc30c0e231
Child:
10:671a6724ce79
Commit message:
Changed destructor

Changed in this revision

BufferedSoftSerial.cpp Show annotated file Show diff for this revision Revisions of this file
BufferedSoftSerial.h Show annotated file Show diff for this revision Revisions of this file
SoftSerial.lib Show annotated file Show diff for this revision Revisions of this file
--- a/BufferedSoftSerial.cpp	Sun Apr 27 19:48:49 2014 +0000
+++ b/BufferedSoftSerial.cpp	Sat Jul 05 08:08:07 2014 +0000
@@ -31,14 +31,6 @@
     return;
 }
 
-BufferedSoftSerial::~BufferedSoftSerial(void)
-{
-    SoftSerial::attach(NULL, SoftSerial::RxIrq);
-    SoftSerial::attach(NULL, SoftSerial::TxIrq);
-
-    return;
-}
-
 int BufferedSoftSerial::readable(void)
 {
     return _rxbuf.available();  // note: look if things are in the buffer
--- a/BufferedSoftSerial.h	Sun Apr 27 19:48:49 2014 +0000
+++ b/BufferedSoftSerial.h	Sat Jul 05 08:08:07 2014 +0000
@@ -94,10 +94,6 @@
      */
     BufferedSoftSerial(PinName tx, PinName rx, const char* name=NULL);
     
-    /** Destroy a BufferedSoftSerial port
-     */
-    virtual ~BufferedSoftSerial(void);
-    
     /** Check on how many bytes are in the rx buffer
      *  @return 1 if something exists, 0 otherwise
      */
--- a/SoftSerial.lib	Sun Apr 27 19:48:49 2014 +0000
+++ b/SoftSerial.lib	Sat Jul 05 08:08:07 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Sissors/code/SoftSerial/#332b66de89d3
+http://mbed.org/users/Sissors/code/SoftSerial/#4e4617c4a441