1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Solomon Peachy 2020-07-09 09:22:22 -04:00
parent 5d8a1a305d
commit 65a91333ef
2 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
/* Define bitmask of input sources - recordable bitmask can be defined /* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */ 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 the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11 \ #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 HAVE_LCD_CONTRAST
/* Define Apple remote tuner */ /* Define Apple remote tuner */
//#define CONFIG_TUNER IPOD_REMOTE_TUNER #define CONFIG_TUNER IPOD_REMOTE_TUNER
//#define HAVE_RDS_CAP #define HAVE_RDS_CAP
//#define CONFIG_RDS RDS_CFG_PUSH #define CONFIG_RDS RDS_CFG_PUSH
/* The exact type of CPU */ /* The exact type of CPU */
#define CONFIG_CPU S5L8701 #define CONFIG_CPU S5L8701

View file

@ -26,7 +26,7 @@
#define ADC_UNKNOWN_0 0 #define ADC_UNKNOWN_0 0
#define ADC_UNKNOWN_1 1 #define ADC_UNKNOWN_1 1
#define ADC_BATTERY 2 #define ADC_BATTERY 2
#define ADC_UNKNOWN_3 3 #define ADC_ACCESSORY 3 /* Complete Guess */
#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */