Skip to content

Commit 7880cba

Browse files
authored
Merge pull request #703 from InfernoEmbedded/1wire-enhancements
Try OWFS again with no path, if the kernel driver is not available.
2 parents 0b27510 + 4f9c331 commit 7880cba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hardware/1Wire.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ void C1Wire::DetectSystem()
6767
m_system=new C1WireByOWFS(m_path);
6868
} else if (C1WireByKernel::IsAvailable()) {
6969
m_system=new C1WireByKernel();
70+
} else {
71+
m_system=new C1WireByOWFS(m_path);
7072
}
7173

7274
#endif // WIN32

0 commit comments

Comments
 (0)