sm6250-common: bluetooth: Push×pop PROPERTY_VALUE_MAX in buildcfg header
This deals with the PROPERTY_VALUE_MAX redefinition compilation issue. Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645
This commit is contained in:
parent
2932db6d60
commit
da4ac49699
@ -23,6 +23,8 @@
|
|||||||
#ifndef _BDROID_BUILDCFG_H
|
#ifndef _BDROID_BUILDCFG_H
|
||||||
#define _BDROID_BUILDCFG_H
|
#define _BDROID_BUILDCFG_H
|
||||||
|
|
||||||
|
#pragma push_macro("PROPERTY_VALUE_MAX")
|
||||||
|
|
||||||
#include <cutils/properties.h>
|
#include <cutils/properties.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@ -54,7 +56,6 @@ static inline const char *BtmGetDefaultName()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
|
#define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
|
||||||
#undef PROPERTY_VALUE_MAX
|
|
||||||
// Disables read remote device feature
|
// Disables read remote device feature
|
||||||
#define MAX_ACL_CONNECTIONS 16
|
#define MAX_ACL_CONNECTIONS 16
|
||||||
#define MAX_L2CAP_CHANNELS 16
|
#define MAX_L2CAP_CHANNELS 16
|
||||||
@ -63,4 +64,7 @@ static inline const char *BtmGetDefaultName()
|
|||||||
#define BT_CLEAN_TURN_ON_DISABLED 1
|
#define BT_CLEAN_TURN_ON_DISABLED 1
|
||||||
// Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec
|
// Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec
|
||||||
#define AVDT_NUM_SEPS 12
|
#define AVDT_NUM_SEPS 12
|
||||||
|
|
||||||
|
#pragma pop_macro("PROPERTY_VALUE_MAX")
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user