From 092c340a2062fa98b7387fc5fd63578ddae7d0b6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 15 Jul 2020 19:40:55 -0400 Subject: [1/4] Remove SH support and all archos targets This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061 --- apps/plugins/calendar.c | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'apps/plugins/calendar.c') diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 11a37191af..7e2472ffc9 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c @@ -25,30 +25,8 @@ #include "lib/playback_control.h" #include "lib/configfile.h" - - -#if CONFIG_KEYPAD == RECORDER_PAD -#define CALENDAR_QUIT BUTTON_OFF -#define CALENDAR_SELECT BUTTON_PLAY -#define CALENDAR_NEXT_WEEK BUTTON_DOWN -#define CALENDAR_PREV_WEEK BUTTON_UP -#define CALENDAR_NEXT_DAY BUTTON_RIGHT -#define CALENDAR_PREV_DAY BUTTON_LEFT -#define CALENDAR_NEXT_MONTH (BUTTON_ON|BUTTON_DOWN) -#define CALENDAR_PREV_MONTH (BUTTON_ON|BUTTON_UP) - -#elif CONFIG_KEYPAD == ONDIO_PAD -#define CALENDAR_QUIT BUTTON_OFF -#define CALENDAR_SELECT (BUTTON_MENU|BUTTON_REL) -#define CALENDAR_NEXT_WEEK BUTTON_DOWN -#define CALENDAR_PREV_WEEK BUTTON_UP -#define CALENDAR_NEXT_DAY BUTTON_RIGHT -#define CALENDAR_PREV_DAY BUTTON_LEFT -#define CALENDAR_NEXT_MONTH (BUTTON_MENU|BUTTON_DOWN) -#define CALENDAR_PREV_MONTH (BUTTON_MENU|BUTTON_UP) - -#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ - (CONFIG_KEYPAD == IRIVER_H300_PAD) +#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ + (CONFIG_KEYPAD == IRIVER_H300_PAD) #define CALENDAR_QUIT BUTTON_OFF #define CALENDAR_SELECT BUTTON_SELECT #define CALENDAR_NEXT_WEEK BUTTON_DOWN -- cgit v1.2.3