diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-06 18:26:17 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-06 18:26:17 +0000 |
| commit | 336cec2e1f698a6b60d67f25235bbcf356b768c1 (patch) | |
| tree | 3dd14cea041d97b877a592a61614d87c0acfa910 /firmware/export | |
| parent | b69df427762fcc3219a8fc83176d8f5996a0b499 (diff) | |
| download | rockbox-336cec2e1f698a6b60d67f25235bbcf356b768c1.zip rockbox-336cec2e1f698a6b60d67f25235bbcf356b768c1.tar.gz rockbox-336cec2e1f698a6b60d67f25235bbcf356b768c1.tar.bz2 rockbox-336cec2e1f698a6b60d67f25235bbcf356b768c1.tar.xz | |
Fix set_serial_descriptor() for targets with as3543
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28013 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/as3514.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h index de975ce..dfe0f80 100644 --- a/firmware/export/as3514.h +++ b/firmware/export/as3514.h @@ -118,7 +118,13 @@ extern void audiohw_set_sampr_dividers(int fsel); #define AS3514_ADC_0 0x2e #define AS3514_ADC_1 0x2f +#ifdef HAVE_AS3543 +#define AS3514_UID_0 0x38 +#define AS3514_UID_LEN 8 +#else #define AS3514_UID_0 0x30 +#define AS3514_UID_LEN 16 +#endif /*different volume ranges for different AMS chips*/ #if CONFIG_CPU == AS3525v2 |