Commit 21a57564b removed the OW_USB condition in owusbprobe. This
causes the build to fail if libusb is not available or --disable-libusb
was given.

Therefore, re-insert the condition.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arn...@mind.be>
Cc: Johan Ström <jo...@stromnet.se>
---
 module/owshell/src/c/owusbprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/owshell/src/c/owusbprobe.c 
b/module/owshell/src/c/owusbprobe.c
index 93a344e..5d72653 100644
--- a/module/owshell/src/c/owusbprobe.c
+++ b/module/owshell/src/c/owusbprobe.c
@@ -33,7 +33,7 @@
 
 #define log(msg, args...) fprintf(stdout, msg"\n", ##args)
 
-#if 1 || OW_USB
+#if OW_USB
 
 #if defined(__FreeBSD__)
 #define TTY_EXAMPLE "/dev/cuaUx"
-- 
2.7.0


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to