diff options
author | pancake <pancake@pluna> | 2008-01-14 11:25:08 +0100 |
---|---|---|
committer | pancake <pancake@pluna> | 2008-01-14 11:25:08 +0100 |
commit | 288cad1c2e401e5dfbd029b95f62ca05c85d3d61 (patch) | |
tree | ac2652d1998dc9e641d49e367b3a853b2728b6c8 /src/main.h | |
parent | 4115aab13d70bbe8300562bcd789cc5bc27c8ded (diff) | |
download | 0xFFFF-288cad1c2e401e5dfbd029b95f62ca05c85d3d61.tar.bz2 |
* 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
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,8 @@ void eprintf(const char *format, ...); #ifndef PATH_MAX #define PATH_MAX 4096 #endif + +#if HAVE_USB #include <usb.h> extern struct usb_device *device; @@ -34,6 +36,8 @@ void list_valid_devices(); int usb_device_found(struct usb_device_descriptor *udd, struct devices *it_device); int console(const char *device); int connect_via_usb(); +#endif + int console_prompt(); // |