mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Change project makefiles so that the current target settings and not just the board selection is printed during the build process.
Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
This commit is contained in:
@@ -103,8 +103,10 @@ void ProcessNextSample(void)
|
||||
int8_t LeftSample_8Bit = (LeftSample_16Bit >> 8);
|
||||
int8_t RightSample_8Bit = (RightSample_16Bit >> 8);
|
||||
|
||||
#if !defined(AUDIO_OUT_STEREO)
|
||||
/* Mix the two channels together to produce a mono, 8-bit sample */
|
||||
int8_t MixedSample_8Bit = (((int16_t)LeftSample_8Bit + (int16_t)RightSample_8Bit) >> 1);
|
||||
#endif
|
||||
|
||||
#if defined(AUDIO_OUT_MONO)
|
||||
/* Load the sample into the PWM timer channel */
|
||||
|
||||
Reference in New Issue
Block a user