forked from len0rd/rockbox
Remove build conditions inside .c plugin files
Rather use the Makefile to specify which files must be built Fix color builds with test plugins enabled (test_scanrate gave an empty .o file) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b11767b7ae
commit
7014faee69
25 changed files with 15 additions and 119 deletions
|
@ -150,10 +150,6 @@ robotfindskitten.c
|
||||||
xobox.c
|
xobox.c
|
||||||
spacerocks.c
|
spacerocks.c
|
||||||
|
|
||||||
/* Plugins needing the grayscale lib on low-depth LCDs */
|
|
||||||
fire.c
|
|
||||||
plasma.c
|
|
||||||
|
|
||||||
blackjack.c
|
blackjack.c
|
||||||
bounce.c
|
bounce.c
|
||||||
bubbles.c
|
bubbles.c
|
||||||
|
@ -176,6 +172,10 @@ starfield.c
|
||||||
vu_meter.c
|
vu_meter.c
|
||||||
wormlet.c
|
wormlet.c
|
||||||
|
|
||||||
|
/* Plugins needing the grayscale lib on low-depth LCDs */
|
||||||
|
fire.c
|
||||||
|
plasma.c
|
||||||
|
|
||||||
#ifdef HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
clix.c
|
clix.c
|
||||||
ppmviewer.c
|
ppmviewer.c
|
||||||
|
@ -225,9 +225,12 @@ test_codec.c
|
||||||
test_core_jpeg.c
|
test_core_jpeg.c
|
||||||
#endif
|
#endif
|
||||||
test_disk.c
|
test_disk.c
|
||||||
test_fps.c
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
test_fps.c
|
||||||
test_gfx.c
|
test_gfx.c
|
||||||
|
#if LCD_DEPTH < 4 && !defined(SIMULATOR)
|
||||||
|
test_scanrate.c
|
||||||
|
#endif
|
||||||
#ifndef HAVE_LCD_COLOR
|
#ifndef HAVE_LCD_COLOR
|
||||||
test_grey.c
|
test_grey.c
|
||||||
test_greylib_bitmap_scale.c
|
test_greylib_bitmap_scale.c
|
||||||
|
@ -243,9 +246,8 @@ test_resize.c
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
test_sampr.c
|
test_sampr.c
|
||||||
#endif
|
#endif
|
||||||
test_scanrate.c
|
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
test_touchscreen.c
|
test_touchscreen.c
|
||||||
#endif
|
#endif
|
||||||
test_viewports.c
|
test_viewports.c
|
||||||
#endif
|
#endif /* HAVE_TEST_PLUGINS */
|
||||||
|
|
|
@ -33,11 +33,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
/* Only build for (correct) target */
|
|
||||||
#if CONFIG_CPU==SH7034 && !(CONFIG_STORAGE & STORAGE_MMC)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS /* player model */
|
#ifdef HAVE_LCD_CHARCELLS /* player model */
|
||||||
#define LINES 2
|
#define LINES 2
|
||||||
#define COLUMNS 11
|
#define COLUMNS 11
|
||||||
|
@ -1198,5 +1193,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
/* now go ahead and have fun! */
|
/* now go ahead and have fun! */
|
||||||
return (main(parameter)==0) ? PLUGIN_OK : PLUGIN_ERROR;
|
return (main(parameter)==0) ? PLUGIN_OK : PLUGIN_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_CPU==SH7034 && !(CONFIG_STORAGE & STORAGE_MMC) */
|
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
#include "lib/xlcd.h"
|
#include "lib/xlcd.h"
|
||||||
#include "lib/pluginlib_actions.h"
|
#include "lib/pluginlib_actions.h"
|
||||||
#include "lib/fixedpoint.h"
|
#include "lib/fixedpoint.h"
|
||||||
|
@ -2566,5 +2564,3 @@ enum plugin_status plugin_start(const void* parameter) {
|
||||||
rb->lcd_setfont(FONT_UI);
|
rb->lcd_setfont(FONT_UI);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ F3: equal to "="
|
||||||
---------------------------------------------------------------------------*/
|
---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1767,5 +1767,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
rb->button_clear_queue();
|
rb->button_clear_queue();
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "lib/pluginlib_actions.h"
|
#include "lib/pluginlib_actions.h"
|
||||||
#include "lib/helper.h"
|
#include "lib/helper.h"
|
||||||
|
|
||||||
|
@ -445,5 +444,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#include "lib/configfile.h"
|
#include "lib/configfile.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
|
||||||
|
|
||||||
/* Euro converter for the player */
|
/* Euro converter for the player */
|
||||||
/*
|
/*
|
||||||
Use:
|
Use:
|
||||||
|
@ -599,5 +597,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
}
|
}
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "lib/helper.h"
|
#include "lib/helper.h"
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
#include "lib/pluginlib_actions.h"
|
#include "lib/pluginlib_actions.h"
|
||||||
#include "lib/fixedpoint.h"
|
#include "lib/fixedpoint.h"
|
||||||
|
@ -382,5 +381,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -27,16 +27,10 @@
|
||||||
unsigned char *audiobuf;
|
unsigned char *audiobuf;
|
||||||
ssize_t audiobuf_size;
|
ssize_t audiobuf_size;
|
||||||
|
|
||||||
#ifdef IRIVER_H100_SERIES
|
#ifndef IRIVER_H100_SERIES
|
||||||
#define PLATFORM_ID ID_IRIVER_H100
|
#error this platform is not (yet) flashable
|
||||||
#else
|
|
||||||
#undef PLATFORM_ID /* this platform is not (yet) flashable */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PLATFORM_ID
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||||
#define KEY1 BUTTON_OFF
|
#define KEY1 BUTTON_OFF
|
||||||
#define KEY2 BUTTON_ON
|
#define KEY2 BUTTON_ON
|
||||||
|
@ -770,5 +764,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* ifdef PLATFORM_ID */
|
|
||||||
|
|
|
@ -27,10 +27,6 @@
|
||||||
#include "lib/playback_control.h"
|
#include "lib/playback_control.h"
|
||||||
#include "pluginbitmaps/jewels.h"
|
#include "pluginbitmaps/jewels.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||||
#define JEWELS_UP BUTTON_UP
|
#define JEWELS_UP BUTTON_UP
|
||||||
|
@ -1601,5 +1597,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
#include "lib/playback_control.h"
|
#include "lib/playback_control.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -926,5 +924,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
|
||||||
|
|
||||||
/* NIM game for the player
|
/* NIM game for the player
|
||||||
|
|
||||||
Rules of nim game
|
Rules of nim game
|
||||||
|
@ -290,4 +288,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
}
|
}
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include "lib/helper.h"
|
#include "lib/helper.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "lib/xlcd.h"
|
#include "lib/xlcd.h"
|
||||||
#include "lib/configfile.h"
|
#include "lib/configfile.h"
|
||||||
|
|
||||||
|
@ -916,4 +915,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
}
|
}
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
#include "lib/pluginlib_actions.h"
|
#include "lib/pluginlib_actions.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
#ifndef HAVE_LCD_COLOR
|
#ifndef HAVE_LCD_COLOR
|
||||||
#include "lib/grey.h"
|
#include "lib/grey.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -326,5 +324,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
#endif
|
#endif
|
||||||
return main();
|
return main();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define PAD_HEIGHT LCD_HEIGHT / 6 /* Recorder: 10 iRiver: 21 */
|
#define PAD_HEIGHT LCD_HEIGHT / 6 /* Recorder: 10 iRiver: 21 */
|
||||||
#define PAD_WIDTH LCD_WIDTH / 50 /* Recorder: 2 iRiver: 2 */
|
#define PAD_WIDTH LCD_WIDTH / 50 /* Recorder: 2 iRiver: 2 */
|
||||||
|
|
||||||
|
@ -587,5 +583,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return (game == 0) ? PLUGIN_OK : PLUGIN_USB_CONNECTED;
|
return (game == 0) ? PLUGIN_OK : PLUGIN_USB_CONNECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -22,10 +22,6 @@
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "lib/pluginlib_bmp.h"
|
#include "lib/pluginlib_bmp.h"
|
||||||
|
|
||||||
#if defined(HAVE_LCD_COLOR)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Magic constants. */
|
/* Magic constants. */
|
||||||
#define PPM_MAGIC1 'P'
|
#define PPM_MAGIC1 'P'
|
||||||
#define PPM_MAGIC2 '3'
|
#define PPM_MAGIC2 '3'
|
||||||
|
@ -357,5 +353,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||||
#define ONEDROCKBLOX_DOWN BUTTON_PLAY
|
#define ONEDROCKBLOX_DOWN BUTTON_PLAY
|
||||||
#define ONEDROCKBLOX_QUIT BUTTON_OFF
|
#define ONEDROCKBLOX_QUIT BUTTON_OFF
|
||||||
|
@ -323,4 +318,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
|
@ -23,10 +23,6 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#if (CONFIG_CPU == SH7034) /* Only for SH targets */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* define DUMMY if you only want to "play" with the UI, does no harm */
|
/* define DUMMY if you only want to "play" with the UI, does no harm */
|
||||||
/* #define DUMMY */
|
/* #define DUMMY */
|
||||||
|
|
||||||
|
@ -957,6 +953,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* SH-target */
|
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
|
|
||||||
/* variable button definitions */
|
/* variable button definitions */
|
||||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||||
#define PUZZLE_QUIT BUTTON_OFF
|
#define PUZZLE_QUIT BUTTON_OFF
|
||||||
|
@ -818,5 +815,3 @@ enum plugin_status plugin_start(
|
||||||
|
|
||||||
return puzzle_loop();
|
return puzzle_loop();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "lib/configfile.h"
|
#include "lib/configfile.h"
|
||||||
#include "lib/highscore.h"
|
#include "lib/highscore.h"
|
||||||
#include "lib/playback_control.h"
|
#include "lib/playback_control.h"
|
||||||
|
@ -529,4 +529,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
highscore_save(SCORE_FILE, highscores, NUM_SCORES);
|
highscore_save(SCORE_FILE, highscores, NUM_SCORES);
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ Head and Tail are stored
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "lib/highscore.h"
|
#include "lib/highscore.h"
|
||||||
#include "lib/playback_control.h"
|
#include "lib/playback_control.h"
|
||||||
|
|
||||||
|
@ -1525,5 +1525,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return (quit==1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED;
|
return (quit==1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define min(a,b) (a<b?a:b)
|
#define min(a,b) (a<b?a:b)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1928,5 +1924,3 @@ enum plugin_status plugin_start(const void* parameter )
|
||||||
/* Exit the plugin */
|
/* Exit the plugin */
|
||||||
return ( result == SOLITAIRE_USB ) ? PLUGIN_USB_CONNECTED : PLUGIN_OK;
|
return ( result == SOLITAIRE_USB ) ? PLUGIN_USB_CONNECTED : PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
#include "lib/display_text.h"
|
#include "lib/display_text.h"
|
||||||
#include "lib/playback_control.h"
|
#include "lib/playback_control.h"
|
||||||
|
|
||||||
|
@ -1162,5 +1162,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
/* display choice menu */
|
/* display choice menu */
|
||||||
return star_menu();
|
return star_menu();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
#include "lib/helper.h"
|
#include "lib/helper.h"
|
||||||
#include "lib/pluginlib_exit.h"
|
#include "lib/pluginlib_exit.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP /* and also not for the Player */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************* Globals ***********************************/
|
/******************************* Globals ***********************************/
|
||||||
|
|
||||||
/* Key assignement */
|
/* Key assignement */
|
||||||
|
@ -524,5 +520,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#include "lib/helper.h"
|
#include "lib/helper.h"
|
||||||
#include "lib/grey.h"
|
#include "lib/grey.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
|
||||||
|
|
||||||
PLUGIN_IRAM_DECLARE
|
PLUGIN_IRAM_DECLARE
|
||||||
|
|
||||||
#if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
#if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||||
|
@ -385,4 +383,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
|
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == ONDIO_PAD) \
|
#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == ONDIO_PAD) \
|
||||||
|| (CONFIG_KEYPAD == IRIVER_H100_PAD)
|
|| (CONFIG_KEYPAD == IRIVER_H100_PAD)
|
||||||
#define SCANRATE_DONE BUTTON_OFF
|
#define SCANRATE_DONE BUTTON_OFF
|
||||||
|
@ -245,5 +241,3 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
return plugin_main();
|
return plugin_main();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue