* 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
This commit is contained in:
1 parent
4115aab13d
commit
288cad1c2e
11 files changed
+83
-45
No files matched your search
@@ -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();
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user