Merge pull request #1319 from heyuanjie87/imx1050

[audio]修正关闭中断后没打开的问题
This commit is contained in:
Bernard Xiong 2018-03-27 18:06:23 +08:00 committed by GitHub
commit d0b592c098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}