summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/wps_parser.c2
-rw-r--r--tools/checkwps/Makefile18
-rw-r--r--tools/checkwps/checkwps.c (renamed from tools/checkwps.c)0
3 files changed, 19 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index c645728..e8c3c9f 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -393,7 +393,7 @@ static bool load_bitmap(struct wps_data *wps_data,
int ret = read_bmp_file(filename, bm,
wps_data->img_buf_free,
format);
- DEBUGF("Read %s, ret=%d\n",filename,ret);
+
if (ret > 0)
{
#if LCD_DEPTH == 16
diff --git a/tools/checkwps/Makefile b/tools/checkwps/Makefile
new file mode 100644
index 0000000..a64196d
--- /dev/null
+++ b/tools/checkwps/Makefile
@@ -0,0 +1,18 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id: Makefile 16822 2008-03-26 18:18:22Z dave $
+#
+
+all: checkwps
+
+checkwps: checkwps.c ../../apps/gui/wps_parser.c ../../apps/gui/wps_debug.c ../../firmware/common/ctype.c ../../apps/misc.c ../../apps/recorder/bmp.c
+ $(SILENT)$(CC) -g -I ../../apps/gui -I../../firmware/export \
+-D__PCTOOL__ -DDEBUG -DROCKBOX_HAS_LOGF -DIPOD_COLOR -D ROCKBOX_DIR_LEN -D WPS_DIR=\".\" \
+-I../../apps -I../../firmware/target/arm/ipod -I../../firmware/include $+ -o $@
+
+clean:
+ rm -f cleanwps
diff --git a/tools/checkwps.c b/tools/checkwps/checkwps.c
index ddaaf49..ddaaf49 100644
--- a/tools/checkwps.c
+++ b/tools/checkwps/checkwps.c