From 798e5b07f020df8b127249f7336ec7841e84280d Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 7 Dec 2016 16:55:49 +0000 Subject: [PATCH] Fixed up I2S_DOWNSAMPLE_FACTOR error check --- module_usb_audio/devicedefines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_usb_audio/devicedefines.h b/module_usb_audio/devicedefines.h index 7ddc27be..6df08a43 100644 --- a/module_usb_audio/devicedefines.h +++ b/module_usb_audio/devicedefines.h @@ -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