summaryrefslogtreecommitdiffstats
path: root/src/nolo.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-10 12:03:30 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-10 12:03:30 +0200
commit3ce8ca13f1fa1b8e694b23a4e287f146e7311a85 (patch)
tree56bd45715fd795636b61feb8815829704829fecd /src/nolo.c
parentad68e324c61b708dfd903f2c5fda79f40b87b8bf (diff)
download0xFFFF-3ce8ca13f1fa1b8e694b23a4e287f146e7311a85.tar.bz2
Rename utils.c to printf-utils.c, remove unused functions
Diffstat (limited to 'src/nolo.c')
-rw-r--r--src/nolo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nolo.c b/src/nolo.c
index e74e2dd..c93139c 100644
--- a/src/nolo.c
+++ b/src/nolo.c
@@ -25,6 +25,7 @@
#include "nolo.h"
#include "image.h"
+#include "printf-utils.h"
#include "hexdump.h"
@@ -182,7 +183,7 @@ void nolo_flash_image(struct image * image)
// fclose(fd);
return;
}
- progressbar(off, size);
+ printf_progressbar(off, size);
if (bread<0) {
printf("\n");
perror(" -ee- ");
@@ -194,7 +195,7 @@ void nolo_flash_image(struct image * image)
// fclose(fd);
/*/ EOF */
usb_bulk_write(dev, 2, (char *)nolofiller, 0, 1000);
- progressbar(1, 1);
+ printf_progressbar(1, 1);
printf("\n");
// index = 4????