mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 20:57:20 +08:00
[DeviceDriver] update RT_USING_DEVICE_OPS.
1. fixed audio_pipe.c compile error. 2. update pwm driver: support RT_USING_DEVICE_OPS.
This commit is contained in:
@@ -188,7 +188,7 @@ static rt_err_t rt_pipe_control(rt_device_t dev, int cmd, void *args)
|
||||
}
|
||||
|
||||
#ifdef RT_USING_DEVICE_OPS
|
||||
const static struct rt_device_ops audio_pipe_ops
|
||||
const static struct rt_device_ops audio_pipe_ops =
|
||||
{
|
||||
RT_NULL,
|
||||
RT_NULL,
|
||||
|
||||
Reference in New Issue
Block a user