From 06ed5f4540c6874729d65fb897014acb987be6da Mon Sep 17 00:00:00 2001 From: ljy <1134570045@qq.com> Date: Thu, 21 Jul 2022 11:13:27 +0800 Subject: [PATCH] del some macro --- include/rtdef.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/rtdef.h b/include/rtdef.h index 34c3b9b9ca..556c644f94 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -1043,14 +1043,6 @@ enum rt_device_class_type #define RT_DEVICE_CTRL_GET_INT 0x08 /**< get interrupt status */ #define RT_DEVICE_CTRL_MASK 0x1f /**< mask for contrl commands */ -#ifdef RT_USING_LWP -#define RT_DEVICE_CTRL_IOREMAP 0x13 /**< user device ioremap */ -#define RT_DEVICE_CTRL_IOUNREMAP 0x14 /**< user device unioremap */ -#define RT_DEVICE_CTRL_SET_INT_HANDLER 0x15 /**< user device interrupt install */ -#define RT_DEVICE_CTRL_INT_UNMASK 0x16 /**< user device unmask interrupt */ -#define RT_DEVICE_CTRL_CREATE 0x17 -#endif - /** * special device commands */ -- Gitee