mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +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:
@@ -93,7 +93,7 @@ static rt_size_t fdevice_write(rt_device_t dev, rt_off_t pos, const void *buffer
|
||||
return write(fdev->fd, buffer, size);
|
||||
}
|
||||
|
||||
static rt_err_t fdevice_control(rt_device_t dev, rt_uint8_t cmd, void *arg)
|
||||
static rt_err_t fdevice_control(rt_device_t dev, int cmd, void *arg)
|
||||
{
|
||||
struct file_device *fdev = (struct file_device *)dev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user