summaryrefslogtreecommitdiff
path: root/bsp/at91sam9260/drivers
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-16 13:23:03 +0800
committerbernard <[email protected]>2017-10-16 13:23:03 +0800
commit5e3b3b19a6994c7113bfa823342b35fbb61287ce (patch)
tree2bcdf09698ef7b60220d24092995962b592935b9 /bsp/at91sam9260/drivers
parent68d01f8261cf0fb4b423a9f286bfdc6d15e729bb (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/at91sam9260/drivers')
-rw-r--r--bsp/at91sam9260/drivers/macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/at91sam9260/drivers/macb.c b/bsp/at91sam9260/drivers/macb.c
index 57631185a1..be665e09c2 100644
--- a/bsp/at91sam9260/drivers/macb.c
+++ b/bsp/at91sam9260/drivers/macb.c
@@ -540,7 +540,7 @@ static rt_size_t rt_macb_write (rt_device_t dev, rt_off_t pos, const void* buffe
return 0;
}
-static rt_err_t rt_macb_control(rt_device_t dev, rt_uint8_t cmd, void *args)
+static rt_err_t rt_macb_control(rt_device_t dev, int cmd, void *args)
{
switch(cmd)
{