summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-09-22 09:37:36 +0800
committerGitHub <[email protected]>2018-09-22 09:37:36 +0800
commit83d134bc82aa1431c9a305464486178397e98ef1 (patch)
tree2b58212ef39f637983d29ebda3d30948bb29779c /components/drivers/include/rtdevice.h
parentd675ede836219ca4151e8c106468cdd6a493c790 (diff)
parentb5202d17fbd8e226a737caa38d536a4cd7a55956 (diff)
Merge pull request #1810 from enkiller/dev
[DeviceDriver][wlan] add new wlan framework
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 4207ddc0ee..e0499dcd20 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -1,21 +1,7 @@
/*
- * File : rtdevice.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
@@ -117,6 +103,10 @@ extern "C" {
#include "drivers/rt_drv_pwm.h"
#endif
+#ifdef RT_USING_WIFI
+#include "drivers/wlan.h"
+#endif
+
#ifdef MTD_USING_NOR
#include "drivers/mtdnor.h"
#endif