Tidy up MIN/MAX freq checks

This commit is contained in:
Ross Owen
2016-12-08 11:51:11 +00:00
parent 10efbb709e
commit a699c51075
2 changed files with 2 additions and 3 deletions

View File

@@ -310,7 +310,7 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in,
{
unsigned cmd = inuint(c_aud_ctl);
#if MAX_FREQ != MIN_FREQ
#if (MAX_FREQ != MIN_FREQ)
if(cmd == SET_SAMPLE_FREQ)
{
unsigned receivedSampleFreq = inuint(c_aud_ctl);