Some minor whitespace corrections.
[pub/USBasp.git] / Demos / Device / ClassDriver / AudioOutput / AudioOutput.c
index 8c3bf61..4497963 100644 (file)
@@ -99,7 +99,7 @@ void ProcessNextSample(void)
                /* Massage signed 16-bit left and right audio samples into signed 8-bit */\r
                int8_t  LeftSample_8Bit   = (LeftSample_16Bit  >> 8);\r
                int8_t  RightSample_8Bit  = (RightSample_16Bit >> 8);\r
-                       \r
+\r
                /* Mix the two channels together to produce a mono, 8-bit sample */\r
                int8_t  MixedSample_8Bit  = (((int16_t)LeftSample_8Bit + (int16_t)RightSample_8Bit) >> 1);\r
 \r
@@ -160,9 +160,9 @@ void EVENT_USB_Connect(void)
 #if (defined(AUDIO_OUT_MONO) || defined(AUDIO_OUT_STEREO))\r
        /* PWM speaker timer initialization */\r
        TCCRxA  = ((1 << WGMx0) | (1 << COMxA1) | (1 << COMxA0)\r
-                                                       | (1 << COMxB1) | (1 << COMxB0)); // Set on match, clear on TOP\r
+               | (1 << COMxB1) | (1 << COMxB0)); // Set on match, clear on TOP\r
        TCCRxB  = ((1 << WGMx2) | (1 << CSx0));  // Fast 8-Bit PWM, Fcpu speed\r
-#endif \r
+#endif\r
 }\r
 \r
 /** Event handler for the library USB Disconnection event. */\r
@@ -176,7 +176,7 @@ void EVENT_USB_Disconnect(void)
 #if (defined(AUDIO_OUT_MONO) || defined(AUDIO_OUT_STEREO))\r
        /* Stop the PWM generation timer */\r
        TCCRxB = 0;\r
-#endif         \r
+#endif\r
 \r
 #if defined(AUDIO_OUT_MONO)\r
        /* Set speaker as input to reduce current draw */\r