summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2008-12-14 01:40:49 +0100
committerpancake <pancake@dazo>2008-12-14 01:40:49 +0100
commitfc3a613276f147c73214f67839e362f08664c7b1 (patch)
tree573caf9106d8202516e88c1b2bc4410c322df4ec
parent5a96158322b4b7e8289dfd429af3e7b15a99d173 (diff)
download0xFFFF-fc3a613276f147c73214f67839e362f08664c7b1.tar.bz2
* Minor stetical fixups
* Cut 0.4 release :)
-rw-r--r--src/fiasco.c1
-rw-r--r--src/main.c9
2 files changed, 5 insertions, 5 deletions
diff --git a/src/fiasco.c b/src/fiasco.c
index a521270..3e9da9f 100644
--- a/src/fiasco.c
+++ b/src/fiasco.c
@@ -208,7 +208,6 @@ int fiasco_add_eof(int fd)
return 0;
}
-
int fiasco_add(int fd, const char *name, const char *file, const char *version)
{
int gd,ret;
diff --git a/src/main.c b/src/main.c
index a5e18fd..a75bb57 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);