[drivers/core] revise the macros of header files
the macros is too common to use so that to avoid conflicts
This commit is contained in:
parent
4e0225a48d
commit
32e50cd68b
|
@ -8,8 +8,8 @@
|
|||
* 2023-04-12 ErikChan the first version
|
||||
*/
|
||||
|
||||
#ifndef __BUS_H__
|
||||
#define __BUS_H__
|
||||
#ifndef __CORE_BUS_H__
|
||||
#define __CORE_BUS_H__
|
||||
|
||||
#include <rthw.h>
|
||||
#include <drivers/core/device.h>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* 2023-04-12 ErikChan the first version
|
||||
*/
|
||||
|
||||
#ifndef __DEVICE_H__
|
||||
#define __DEVICE_H__
|
||||
#ifndef __CORE_DEVICE_H__
|
||||
#define __CORE_DEVICE_H__
|
||||
|
||||
#include <rtdef.h>
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* 2023-04-20 ErikChan the first version
|
||||
*/
|
||||
|
||||
#ifndef __RT_DM_H__
|
||||
#define __RT_DM_H__
|
||||
#ifndef __CORE_DM_H__
|
||||
#define __CORE_DM_H__
|
||||
|
||||
#include <rthw.h>
|
||||
#include <rtdef.h>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* 2023-04-12 ErikChan the first version
|
||||
*/
|
||||
|
||||
#ifndef __DRIVER_H__
|
||||
#define __DRIVER_H__
|
||||
#ifndef __CORE_DRIVER_H__
|
||||
#define __CORE_DRIVER_H__
|
||||
|
||||
#include <drivers/core/device.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue