We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ee6db commit bf6efcaCopy full SHA for bf6efca
src/RS485CommClass.cpp
@@ -17,7 +17,7 @@ RS485CommClass::RS485CommClass(arduino::UART& uart_itf, PinName rs_tx_pin, PinNa
17
RS485CommClass::~RS485CommClass()
18
{ }
19
20
-void RS485CommClass::begin(unsigned long baudrate, uint16_t config = SERIAL_8N1, int predelay, int postdelay) {
+void RS485CommClass::begin(unsigned long baudrate, uint16_t config, int predelay, int postdelay) {
21
/* Pinout configuration */
22
pinMode(PinNameToIndex(MC_RS485_TX_PIN), OUTPUT);
23
pinMode(PinNameToIndex(MC_RS485_RX_PIN), OUTPUT);
0 commit comments