* 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
+2
-1
@@ -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
|
||||
Reference in new issue
Block a user