We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da6211 commit 8159bceCopy full SHA for 8159bce
src/lib/motors/RS485.cpp
@@ -155,10 +155,3 @@ void RS485Class::sendBreakMicroseconds(unsigned int duration)
155
delayMicroseconds(duration);
156
_serial->begin(_baudrate, _config);
157
}
158
-
159
-void RS485Class::setPins(int txPin, int dePin, int rePin)
160
-{
161
- _txPin = txPin;
162
- _dePin = dePin;
163
- _rePin = rePin;
164
-}
src/lib/motors/RS485.h
@@ -66,8 +66,6 @@ class RS485Class : public Stream {
66
void sendBreak(unsigned int duration);
67
void sendBreakMicroseconds(unsigned int duration);
68
69
- void setPins(int txPin, int dePin, int rePin);
70
71
private:
72
HardwareSerial* _serial;
73
int _txPin;
0 commit comments