Update audio.c

This commit is contained in:
heyuanjie87 2018-03-27 13:59:22 +08:00 committed by GitHub
parent 0d2b660f2b
commit fa09a700c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -294,6 +294,10 @@ static rt_size_t _audio_dev_write(struct rt_device *dev, rt_off_t pos, const voi
_audio_send_replay_frame(audio);
}
else
{
rt_hw_interrupt_enable(level);
}
return size;
}