fix: correct XIAO RS485 UART pin mapping
This commit is contained in:
@@ -117,6 +117,8 @@ void initSensorNodeRs485() {
|
||||
void processSensorNodeRs485() {
|
||||
while (sensorNodeSerial.available() > 0) {
|
||||
char value = (char)sensorNodeSerial.read();
|
||||
sensorNodeStatus.bytesReceived++;
|
||||
sensorNodeStatus.lastByteMs = millis();
|
||||
if (value == '\r') continue;
|
||||
|
||||
if (value != '\n') {
|
||||
|
||||
Reference in New Issue
Block a user