From 3c7439f0bb95041a5232b7fb863dc0c1a29dadc0 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 28 Oct 2014 12:10:41 +0000 Subject: [PATCH] Improved preprocessor #warning messages for out of range values for I2S_WIRE_XXX defines --- module_usb_audio/main.xc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 32fd88ce..fe609211 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -66,7 +66,7 @@ on tile[AUDIO_IO_TILE] : buffered out port:32 p_i2s_dac[I2S_WIRES_DAC] = PORT_I2S_DAC6, #endif #if I2S_WIRES_DAC > 7 -#error Not supported +#error I2S_WIRES_DAC value is too large! #endif #if I2S_WIRES_DAC > 0 }; @@ -95,7 +95,7 @@ on tile[AUDIO_IO_TILE] : buffered in port:32 p_i2s_adc[I2S_WIRES_ADC] = PORT_I2S_ADC6, #endif #if I2S_WIRES_ADC > 7 -#error Not supported +#error I2S_WIRES_ADC value is too large! #endif #if I2S_WIRES_ADC > 0 };