diff options
| author | bernard <[email protected]> | 2017-10-16 13:23:03 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-16 13:23:03 +0800 |
| commit | 5e3b3b19a6994c7113bfa823342b35fbb61287ce (patch) | |
| tree | 2bcdf09698ef7b60220d24092995962b592935b9 /bsp/tm4c129x | |
| parent | 68d01f8261cf0fb4b423a9f286bfdc6d15e729bb (diff) | |
[BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
Diffstat (limited to 'bsp/tm4c129x')
| -rw-r--r-- | bsp/tm4c129x/drivers/drv_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/tm4c129x/drivers/drv_eth.c b/bsp/tm4c129x/drivers/drv_eth.c index 9d68a5d718..1076aea405 100644 --- a/bsp/tm4c129x/drivers/drv_eth.c +++ b/bsp/tm4c129x/drivers/drv_eth.c @@ -1320,7 +1320,7 @@ static rt_err_t eth_dev_init(rt_device_t device) } /* control the interface */ -static rt_err_t eth_dev_control(rt_device_t dev, rt_uint8_t cmd, void *args) +static rt_err_t eth_dev_control(rt_device_t dev, int cmd, void *args) { switch(cmd) { |
