Correct stray "else" - meant that g_freqChange never changed
This commit is contained in:
@@ -353,8 +353,8 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in,
|
||||
* handshake elsewhere */
|
||||
SET_SHARED_GLOBAL(g_freqChange_sampFreq, receivedSampleFreq);
|
||||
}
|
||||
else
|
||||
#if (AUDIO_CLASS == 2)
|
||||
else
|
||||
if(cmd == SET_STREAM_FORMAT_IN)
|
||||
{
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user