diff options
author | Dave Chapman <dave@dchapman.com> | 2008-03-26 23:35:34 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-03-26 23:35:34 +0000 |
commit | 78d29f535ff14a5f213125baf63fa2961be17d79 (patch) | |
tree | a3d0992ab3a87ab073ed5aafa0529821dcedd31e /firmware | |
parent | d75bb78fdad9f3252df21e469c6f07346e250de4 (diff) | |
download | rockbox-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')
-rw-r--r-- | firmware/export/button.h | 2 | ||||
-rw-r--r-- | firmware/export/lcd-remote.h | 3 | ||||
-rw-r--r-- | firmware/rolo.c | 1 |
3 files changed, 4 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 diff --git a/firmware/rolo.c b/firmware/rolo.c index 30eba91316..bfc0c13ff7 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -28,6 +28,7 @@ #include "audio.h" #include "system.h" #include "i2c.h" +#include "adc.h" #include "string.h" #include "buffer.h" |