bugfix in SerialTransceiver

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-05-23 21:43:39 +02:00
parent b4278a77af
commit 43558e27ce

View File

@@ -25,7 +25,7 @@ void setup() {
void loop() {
if (available485()) Serial.println(get485message());
if (Serial.available()) {
while (Serial.available()) {
c = (char)Serial.read();
if (c == '\n') {
send485(message.c_str());