forked SoftSerial
Fork of SoftSerial by
Diff: SoftSerial.cpp
- Revision:
- 2:9e01a38606b4
- Parent:
- 1:f8b4b764ace7
- Child:
- 5:acfd0329f648
--- a/SoftSerial.cpp Sat Apr 26 15:13:01 2014 +0000
+++ b/SoftSerial.cpp Sat Apr 26 16:21:42 2014 +0000
@@ -27,4 +27,5 @@
_bits = bits;
_parity = parity;
_stop_bits = stop_bits;
+ _total_bits = 1 + _bits + _stop_bits + (bool)_parity;
}
