Merge pull request #292 from darconeous/pull-requests/settings-cc-inline-fix
settings: Correct a problem where sometimes CC_INLINE is not defined properly
This commit is contained in:
commit
10f64c0ce8
|
@ -108,6 +108,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "dev/eeprom.h"
|
#include "dev/eeprom.h"
|
||||||
|
#include "sys/cc.h"
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
// MARK: - Types
|
// MARK: - Types
|
||||||
|
|
|
@ -341,6 +341,9 @@ typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
#ifndef CC_CONF_INLINE
|
||||||
|
#define CC_CONF_INLINE inline
|
||||||
|
#endif
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
/* PROJECT_CONF_H might be defined in the project Makefile */
|
||||||
|
|
|
@ -356,6 +356,9 @@ typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
#ifndef CC_CONF_INLINE
|
||||||
|
#define CC_CONF_INLINE inline
|
||||||
|
#endif
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
/* PROJECT_CONF_H might be defined in the project Makefile */
|
||||||
|
|
|
@ -91,6 +91,9 @@ void clock_adjust_ticks(clock_time_t howmany);
|
||||||
|
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
#ifndef CC_CONF_INLINE
|
||||||
|
#define CC_CONF_INLINE inline
|
||||||
|
#endif
|
||||||
|
|
||||||
#define RIMEADDR_CONF_SIZE 8
|
#define RIMEADDR_CONF_SIZE 8
|
||||||
#define PACKETBUF_CONF_HDR_SIZE 0
|
#define PACKETBUF_CONF_HDR_SIZE 0
|
||||||
|
|
Loading…
Reference in a new issue