diff options
author | pancake <pancake@dazo> | 2008-12-14 01:40:49 +0100 |
---|---|---|
committer | pancake <pancake@dazo> | 2008-12-14 01:40:49 +0100 |
commit | fc3a613276f147c73214f67839e362f08664c7b1 (patch) | |
tree | 573caf9106d8202516e88c1b2bc4410c322df4ec /src/main.c | |
parent | 5a96158322b4b7e8289dfd429af3e7b15a99d173 (diff) | |
download | 0xFFFF-fc3a613276f147c73214f67839e362f08664c7b1.tar.bz2 |
* Minor stetical fixups
* Cut 0.4 release :)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -108,7 +108,6 @@ void show_usage() exit(0); } - int unpack_callback(struct header_t *header) { FILE *fd; @@ -149,7 +148,7 @@ int flash_callback(struct header_t *header) } type = (char *)fpid_file(header->name); - printf("Flashing %s (%s)\n", header->name, type); + printf("\nFlashing %s (%s)\n", header->name, type); flash_image(header->name, type, NULL); return 0; @@ -164,7 +163,8 @@ void unpack_fiasco_image(char *file) int fiasco_flash(char *file) { - char *p,version[64]; + char *p; + char version[64]; if (connect_via_usb()) { fprintf(stderr, "Cannot connect to device. It is possibly not in boot stage.\n"); @@ -175,6 +175,7 @@ int fiasco_flash(char *file) cmd_info(""); check_nolo_order(); + get_nolo_version(); get_sw_version(); get_hw_revision(version, 44); @@ -186,7 +187,7 @@ int fiasco_flash(char *file) printf("SubVersionString autodetected: '%s'\n", subverstr); } } - get_nolo_version(); + printf("\n"); fiasco_callback = &flash_callback; openfiasco(file, "xloader", 0); |