Added checks and build errors for FS behaviour

This commit is contained in:
Ross Owen
2014-01-23 12:37:48 +00:00
parent ede82cd818
commit 60d8a94720

View File

@@ -162,6 +162,14 @@
#undef FULL_SPEED_AUDIO_2
#endif
#if defined(FULL_SPEED_AUDIO_2) && defined(AUDIO_CLASS_FALLBACK)
#error FULL_SPEED_AUDIO_2 and AUDIO_CLASS_FALLBACK enablaed!
#endif
#if (AUDIO_CLASS == 1) && defined(FULL_SPEED_AUDIO_2)
#error AUDIO_CLASS set to 1 and FULL_SPEED_AUDIO_2 enabled!
#endif
/* Number of IS2 chans to DAC */
#ifndef I2S_CHANS_DAC
#error I2S_CHANS_DAC not defined