settings: Correct a problem where sometimes CC_INLINE is not defined properly.
This commit is contained in:
parent
ad34b714cd
commit
0308d3fcf0
4 changed files with 10 additions and 0 deletions
|
@ -108,6 +108,7 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include "dev/eeprom.h"
|
||||
#include "sys/cc.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
// MARK: - Types
|
||||
|
|
|
@ -341,6 +341,9 @@ typedef unsigned short uip_stats_t;
|
|||
|
||||
#define CCIF
|
||||
#define CLIF
|
||||
#ifndef CC_CONF_INLINE
|
||||
#define CC_CONF_INLINE inline
|
||||
#endif
|
||||
|
||||
/* include the project config */
|
||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
||||
|
|
|
@ -356,6 +356,9 @@ typedef unsigned short uip_stats_t;
|
|||
|
||||
#define CCIF
|
||||
#define CLIF
|
||||
#ifndef CC_CONF_INLINE
|
||||
#define CC_CONF_INLINE inline
|
||||
#endif
|
||||
|
||||
/* include the project config */
|
||||
/* 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 CLIF
|
||||
#ifndef CC_CONF_INLINE
|
||||
#define CC_CONF_INLINE inline
|
||||
#endif
|
||||
|
||||
#define RIMEADDR_CONF_SIZE 8
|
||||
#define PACKETBUF_CONF_HDR_SIZE 0
|
||||
|
|
Loading…
Reference in a new issue