@@ -180,8 +180,7 @@ class UARTBase : public Stream {
180
180
// / bit receive buffer, a suggested size is bufCapacity times the sum of
181
181
// / start, data, parity and stop bit count.
182
182
void begin (uint32_t baud, Config config,
183
- int8_t rxPin, int8_t txPin, bool invert,
184
- int bufCapacity = 64 , int isrBufCapacity = 0 );
183
+ int8_t rxPin, int8_t txPin, bool invert);
185
184
186
185
uint32_t baudRate ();
187
186
// / Transmit control pin.
@@ -400,7 +399,7 @@ template< class GpioCapabilities > class BasicUART : public UARTBase {
400
399
void begin (uint32_t baud, Config config,
401
400
int8_t rxPin, int8_t txPin, bool invert,
402
401
int bufCapacity = 64 , int isrBufCapacity = 0 ) {
403
- UARTBase::begin (baud, config, rxPin, txPin, invert, bufCapacity, isrBufCapacity );
402
+ UARTBase::begin (baud, config, rxPin, txPin, invert);
404
403
if (GpioCapabilities::isValidInputPin (rxPin)) {
405
404
beginRx (GpioCapabilities:: hasPullUp (rxPin), bufCapacity, isrBufCapacity);
406
405
}
0 commit comments