Soundharrajan
Fork of mbed by
Diff: SerialHalfDuplex.h
- Revision:
- 92:f7fcbaa5f1b5
- Parent:
- 30:3991a86798e3
--- a/SerialHalfDuplex.h Thu Jul 12 10:10:08 2012 +0100 +++ b/SerialHalfDuplex.h Sun Jun 12 16:45:04 2016 +0000 @@ -96,8 +96,7 @@ Serial::Even, Serial::Forced1, Serial::Forced0; default = Serial::None) * stop - The number of stop bits (1 or 2; default = 1) */ - void format(int bits = 8, Parity parity = Serial::None, int stop_bits -= 1); + void format(int bits = 8, Parity parity = Serial::None, int stop_bits = 1); /* Function: putc * Write a character