From 9554c1d3cd90ec7ef292d88088d63de5cd843ab1 Mon Sep 17 00:00:00 2001 From: sebastienjean Date: Sun, 2 Dec 2012 17:22:59 +0100 Subject: [PATCH] Reverted begin(long speed) to its original prototype (i.e. returning void) --- libraries/SoftwareSerial/SoftwareSerial.cpp | 9 ++------- libraries/SoftwareSerial/SoftwareSerial.h | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/libraries/SoftwareSerial/SoftwareSerial.cpp b/libraries/SoftwareSerial/SoftwareSerial.cpp index 4e02cb6a4..64496febb 100755 --- a/libraries/SoftwareSerial/SoftwareSerial.cpp +++ b/libraries/SoftwareSerial/SoftwareSerial.cpp @@ -376,15 +376,13 @@ void SoftwareSerial::setRX(uint8_t rx) // Public methods // -bool SoftwareSerial::begin(long speed) +void SoftwareSerial::begin(long speed) { _rx_delay_centering = _rx_delay_intrabit = _rx_delay_stopbit = _tx_delay = 0; - long baud = 0; - for (unsigned i=0; i