|
@@ -503,7 +503,7 @@ static rt_err_t rt_sdcard_close(rt_device_t dev)
|
|
*
|
|
*
|
|
* @param hook the hook function
|
|
* @param hook the hook function
|
|
*/
|
|
*/
|
|
-static rt_err_t rt_sdcard_control(rt_device_t dev, rt_uint8_t cmd, void *args)
|
|
|
|
|
|
+static rt_err_t rt_sdcard_control(rt_device_t dev, int cmd, void *args)
|
|
{
|
|
{
|
|
rt_kprintf("cmd = %d\n",cmd);
|
|
rt_kprintf("cmd = %d\n",cmd);
|
|
RT_ASSERT(dev != RT_NULL);
|
|
RT_ASSERT(dev != RT_NULL);
|