From 0e6dd7efcd21d48665b5a799fe081a75cdcb960f Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 27 Nov 2006 02:16:32 +0000 Subject: Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-recorder.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/keymaps') diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index cc09b90bfd..c51bde9a4b 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -215,6 +215,7 @@ const struct button_mapping button_context_radio[] = { }; +#if BUTTON_REMOTE != 0 /***************************************************************************** * Remote control mappings *****************************************************************************/ @@ -254,11 +255,14 @@ static const struct button_mapping* get_context_mapping_remote( int context ) return remote_button_context_standard; } } +#endif /* BUTTON_REMOTE != 0 */ const struct button_mapping* get_context_mapping( int context ) { +#if BUTTON_REMOTE != 0 if (context&CONTEXT_REMOTE) return get_context_mapping_remote(context); +#endif switch( context ) { -- cgit v1.2.3