summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-03-26 23:35:34 +0000
committerDave Chapman <dave@dchapman.com>2008-03-26 23:35:34 +0000
commit78d29f535ff14a5f213125baf63fa2961be17d79 (patch)
treea3d0992ab3a87ab073ed5aafa0529821dcedd31e /firmware/export
parentd75bb78fdad9f3252df21e469c6f07346e250de4 (diff)
downloadrockbox-78d29f535ff14a5f213125baf63fa2961be17d79.tar.gz
rockbox-78d29f535ff14a5f213125baf63fa2961be17d79.zip
Major cleanup of checkwps - fix all warnings and add a script to build versions for all supported targets (plus some unsupported ones). You now need to run the version of checkwps that matches the device your WPS is for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/button.h2
-rw-r--r--firmware/export/lcd-remote.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index f50f3dd9a4..95da7adc42 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -22,7 +22,9 @@
#include <stdbool.h>
#include <inttypes.h>
#include "config.h"
+#ifndef __PCTOOL__
#include "button-target.h"
+#endif
extern struct event_queue button_queue;
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h
index b046c0736d..55d3f6fb38 100644
--- a/firmware/export/lcd-remote.h
+++ b/firmware/export/lcd-remote.h
@@ -23,12 +23,11 @@
#include <stdbool.h>
#include "cpu.h"
#include "config.h"
-#include "adc.h"
#include "lcd.h"
#ifdef HAVE_REMOTE_LCD
-#if defined(TARGET_TREE)
+#if defined(TARGET_TREE) && !defined(__PCTOOL__)
#include "lcd-remote-target.h"
#endif