Fixed up I2S_DOWNSAMPLE_FACTOR error check

This commit is contained in:
Ross Owen
2016-12-07 16:55:49 +00:00
parent 4132c6989a
commit 798e5b07f0

View File

@@ -129,7 +129,7 @@
#ifndef I2S_DOWNSAMPLE_FACTOR
#define I2S_DOWNSAMPLE_FACTOR (1)
#else
#if (I2S_DOWNSAMPLE_FACTOR != 3)
#if (I2S_DOWNSAMPLE_FACTOR != 3) && (I2S_DOWNSAMPLE_FACTOR != 1)
#error Unsupported I2S downsampling configuration
#endif
#endif