You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/10/12 13:54:15 UTC
[incubator-plc4x] branch master updated: - Make the demo run on the
Raspberry Pi
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/master by this push:
new 40ab074 - Make the demo run on the Raspberry Pi
40ab074 is described below
commit 40ab074feb355dcfc69f79c4f25d926799af1542
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Oct 12 15:54:12 2018 +0200
- Make the demo run on the Raspberry Pi
---
.../delta-v/src/test/java/org/apache/plc4x/java/deltav/PoC.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plc4j/protocols/delta-v/src/test/java/org/apache/plc4x/java/deltav/PoC.java b/plc4j/protocols/delta-v/src/test/java/org/apache/plc4x/java/deltav/PoC.java
index 0635acb..7e0ec93 100644
--- a/plc4j/protocols/delta-v/src/test/java/org/apache/plc4x/java/deltav/PoC.java
+++ b/plc4j/protocols/delta-v/src/test/java/org/apache/plc4x/java/deltav/PoC.java
@@ -73,6 +73,10 @@ public class PoC {
nif = dev;
break;
}
+ else if("eth0".equals(dev.getName())) {
+ nif = dev;
+ break;
+ }
}
if(nif == null) {