mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[BSP] change the type of cmd.
1. Change the type of cmd to 'int'; 2. Remove RT_LWIP_USING_RT_MEM macro;
This commit is contained in:
@@ -186,7 +186,7 @@ static rt_err_t rt_dc_init(rt_device_t dev)
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
static rt_err_t rt_dc_control(rt_device_t dev, rt_uint8_t cmd, void *args)
|
||||
static rt_err_t rt_dc_control(rt_device_t dev, int cmd, void *args)
|
||||
{
|
||||
switch (cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user