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/flash.c | |
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/flash.c')
-rw-r--r-- | src/flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash.c b/src/flash.c index 7414afa..e135e53 100644 --- a/src/flash.c +++ b/src/flash.c @@ -16,10 +16,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#if HAVE_USB #include "main.h" #include "hash.h" #include "hexdump.h" -#include <usb.h> #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -195,3 +195,4 @@ void flash_image(char *filename, char *piece, char *version) } printf("Flash done succesfully.\n"); } +#endif |