Correct stray "else" - meant that g_freqChange never changed

This commit is contained in:
Larry Snizek
2017-07-18 17:21:14 +01:00
parent a4c8cdcb1c
commit cbe926f686

View File

@@ -353,8 +353,8 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in,
* handshake elsewhere */ * handshake elsewhere */
SET_SHARED_GLOBAL(g_freqChange_sampFreq, receivedSampleFreq); SET_SHARED_GLOBAL(g_freqChange_sampFreq, receivedSampleFreq);
} }
else
#if (AUDIO_CLASS == 2) #if (AUDIO_CLASS == 2)
else
if(cmd == SET_STREAM_FORMAT_IN) if(cmd == SET_STREAM_FORMAT_IN)
{ {
unsigned formatChange_DataFormat = inuint(c_aud_ctl); unsigned formatChange_DataFormat = inuint(c_aud_ctl);
@@ -957,4 +957,4 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in,
} }
} }
#endif /* NO_USB */ #endif /* NO_USB */