diff --git a/apps/main.c b/apps/main.c index 6985426fbd..44d92c1198 100644 --- a/apps/main.c +++ b/apps/main.c @@ -69,7 +69,7 @@ #else #define pcmbuf_init() #endif -#if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR) +#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR) #include "pcm_record.h" #define SETTINGS_RESET BUTTON_REC #endif @@ -363,7 +363,7 @@ void init(void) #if (CONFIG_CODEC == SWCODEC) sound_settings_apply(); #endif -#if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR) +#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR) pcm_rec_init(); #endif talk_init(); diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 4ca4bcb925..6a87388c7d 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -93,6 +93,15 @@ #define REC_PREV BUTTON_UP #define REC_SETTINGS BUTTON_MODE +#elif CONFIG_KEYPAD == IRIVER_H300_PAD +#define REC_STOPEXIT BUTTON_OFF +#define REC_RECPAUSE BUTTON_REC +#define REC_INC BUTTON_RIGHT +#define REC_DEC BUTTON_LEFT +#define REC_NEXT BUTTON_DOWN +#define REC_PREV BUTTON_UP +#define REC_SETTINGS BUTTON_MODE + #elif CONFIG_KEYPAD == GMINI100_PAD #define REC_STOPEXIT BUTTON_OFF #define REC_RECPAUSE BUTTON_ON diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index 019b090cee..a88fd048c2 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h @@ -7,7 +7,7 @@ #define MODEL_NUMBER 2 /* define this if you have recording possibility */ -/*#define HAVE_RECORDING 1*/ +#define HAVE_RECORDING 1 /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP 1