From 65a91333efb55e3db7b275eb28f0d93d00ffe273 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 9 Jul 2020 09:22:22 -0400 Subject: FS#12082: Add Tuner support to the Nano2G (Bertrik Sikken) (The serial portions of the patch were already present, this just pulls in the tuner enablements) Change-Id: I8090e318f34835769ac0a56d7a48b9250631eb4f --- firmware/export/config/ipodnano2g.h | 8 ++++---- firmware/target/arm/s5l8700/adc-target.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware') diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 9d8c39ef7e..0693cedc14 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h @@ -14,7 +14,7 @@ /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_LINEIN) +#define INPUT_SRC_CAPS (SRC_CAP_LINEIN|SRC_CAP_FMRADIO) /* define the bitmask of hardware sample rates */ #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11 \ @@ -162,9 +162,9 @@ //#define HAVE_LCD_CONTRAST /* Define Apple remote tuner */ -//#define CONFIG_TUNER IPOD_REMOTE_TUNER -//#define HAVE_RDS_CAP -//#define CONFIG_RDS RDS_CFG_PUSH +#define CONFIG_TUNER IPOD_REMOTE_TUNER +#define HAVE_RDS_CAP +#define CONFIG_RDS RDS_CFG_PUSH /* The exact type of CPU */ #define CONFIG_CPU S5L8701 diff --git a/firmware/target/arm/s5l8700/adc-target.h b/firmware/target/arm/s5l8700/adc-target.h index b54d1bf4cc..0fb8bf52de 100644 --- a/firmware/target/arm/s5l8700/adc-target.h +++ b/firmware/target/arm/s5l8700/adc-target.h @@ -26,7 +26,7 @@ #define ADC_UNKNOWN_0 0 #define ADC_UNKNOWN_1 1 #define ADC_BATTERY 2 -#define ADC_UNKNOWN_3 3 +#define ADC_ACCESSORY 3 /* Complete Guess */ #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ -- cgit