From 288cad1c2e401e5dfbd029b95f62ca05c85d3d61 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 14 Jan 2008 11:25:08 +0100 Subject: * Up to 0.3.2 * Add HAVE_USB to config.mk - Now is possible to build a usb-less version of the flasher (only for unpacking and so, offline operations) * Refactor varname. Avoid portability problems: - reboot -> moboreboot --- src/devices.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/devices.c') diff --git a/src/devices.c b/src/devices.c index 6bfe624..203c300 100644 --- a/src/devices.c +++ b/src/devices.c @@ -16,6 +16,7 @@ * along with this program. If not, see . */ +#if HAVE_USB #include "main.h" #include #include @@ -116,3 +117,4 @@ int usb_device_found(struct usb_device_descriptor *udd, struct devices *it_devic return 0; } +#endif -- cgit v1.2.3