Fix initialization. Use macro for sampling rate.
[bertos.git] / boards / sam3x-ek / examples / sam3x-ek_codec / cfg / cfg_wm8731.h
index e268b8015ce27e3196af0e6975b58c527b51ead1..b90815b135848c32ab405464cc496527ab9b3374 100644 (file)
 
 /**
  * Data sampling rate, refer to datasheet for this value.
- * $WIZ$ type = "hex"
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "wm8731_sample_rate"
  */
-#define CONFIG_WM8731_SAMPLING_RATES     0x6
+#define CONFIG_WM8731_SAMPLING_RATES     WM8731_NORMAL_256FS_44_1KHZ
 
 #endif /* CFG_WM8731_H */