mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
cpu/cc2538: added extern C for rfcore.h
This commit is contained in:
parent
785fc1f5a8
commit
964d96e362
@ -26,6 +26,10 @@
|
||||
|
||||
#include "cc2538.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief RF Core component registers
|
||||
*/
|
||||
@ -217,6 +221,10 @@ enum {
|
||||
ISCLEAR = 0xff, /**< Clear CSP program memory, reset program counter */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* CC2538_RFCORE_H */
|
||||
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user