X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_codec%2Fcfg%2Fcfg_wm8731.h;h=d2bef41d753f28a2405665157fa6a5d17e765851;hb=5da4f300ba34aa4457914b28fc6be3452eac1ddb;hp=e268b8015ce27e3196af0e6975b58c527b51ead1;hpb=81e6f612d53e77fe460d88d1d0092945bfe9b39a;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_wm8731.h b/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_wm8731.h index e268b801..d2bef41d 100644 --- a/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_wm8731.h +++ b/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_wm8731.h @@ -65,7 +65,7 @@ * $WIZ$ type = "enum" * $WIZ$ value_list = "wm8731_deemp" */ -#define CONFIG_WM8731_DEEMP WM8731_DEEMP_DISABLE +#define CONFIG_WM8731_DEEMP WM8731_DEEMP_44k1Hz /** * Digital control: DAC soft mute control @@ -93,14 +93,14 @@ * $WIZ$ type = "enum" * $WIZ$ value_list = "wm8731_bypass" */ -#define CONFIG_WM8731_BYPASS WM8731_DACSEL +#define CONFIG_WM8731_BYPASS WM8731_DACSEL /** * Analog control: Side tone attenuation * $WIZ$ type = "enum" * $WIZ$ value_list = "wm8731_sideatt" */ -#define CONFIG_WM8731_SIDEATT WM8731_SIDEATT_6dB +#define CONFIG_WM8731_SIDEATT WM8731_SIDEATT_6dB /** @@ -128,6 +128,6 @@ * Data sampling rate, refer to datasheet for this value. * $WIZ$ type = "hex" */ -#define CONFIG_WM8731_SAMPLING_RATES 0x6 +#define CONFIG_WM8731_SAMPLING_RATES WM8731_NORMAL_256FS_44_1KHZ #endif /* CFG_WM8731_H */