Browse Source

bugfix in SerialTransceiver

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
nano-5
Stephan Richter 5 months ago
parent
commit
43558e27ce
  1. 2
      Software/SerialTransceiver/SerialTransceiver.ino

2
Software/SerialTransceiver/SerialTransceiver.ino

@ -25,7 +25,7 @@ void setup() { @@ -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());

Loading…
Cancel
Save