\r
/** \file\r
*\r
- * Main source file for the Audio Output demo. This file contains the main tasks of the demo and\r
+ * Main source file for the AudioOutput demo. This file contains the main tasks of the demo and\r
* is responsible for the initial application hardware configuration.\r
*/\r
\r
/* Make mixed sample value positive (absolute) */\r
MixedSample_8Bit = abs(MixedSample_8Bit);\r
\r
- if (MixedSample_8Bit > ((128 / 8) * 1))\r
+ if (MixedSample_8Bit > 2)\r
LEDMask |= LEDS_LED1;\r
\r
- if (MixedSample_8Bit > ((128 / 8) * 2))\r
+ if (MixedSample_8Bit > 4)\r
LEDMask |= LEDS_LED2;\r
\r
- if (MixedSample_8Bit > ((128 / 8) * 3))\r
+ if (MixedSample_8Bit > 8)\r
LEDMask |= LEDS_LED3;\r
\r
- if (MixedSample_8Bit > ((128 / 8) * 4))\r
+ if (MixedSample_8Bit > 16)\r
LEDMask |= LEDS_LED4;\r
\r
LEDs_SetAllLEDs(LEDMask);\r