mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Serial
This commit is contained in:
@@ -523,10 +523,6 @@ void serialBegin() {
|
||||
delete mySerial;
|
||||
}
|
||||
|
||||
if (term) {
|
||||
delete term;
|
||||
}
|
||||
|
||||
mySerial = new SoftwareSerial(rxPin.toInt(), txPin.toInt());
|
||||
mySerial->begin(s_speed.toInt());
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ void Terminal::setStream(Stream *stream) {
|
||||
_stream = stream;
|
||||
}
|
||||
|
||||
Terminal::~Terminal() {}
|
||||
|
||||
void Terminal::setOnReadLine(TerminalInputEventHandler h) { inputHandler_ = h; }
|
||||
|
||||
void Terminal::setOnEvent(TerminalEventHandler h) { eventHandler_ = h; }
|
||||
|
||||
Reference in New Issue
Block a user