aboutsummaryrefslogtreecommitdiffstats
path: root/arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp')
-rwxr-xr-xarduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp b/arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp
index e9f9289..02908c2 100755
--- a/arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp
+++ b/arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp
@@ -56,7 +56,7 @@
* Each field has an 1-byte preceding length
*------------------------------------------------------------------*/
#define SVC_CONTEXT_FLAG (BLE_GATTS_SYS_ATTR_FLAG_SYS_SRVCS | BLE_GATTS_SYS_ATTR_FLAG_USR_SRVCS)
-#define BOND_FNAME_LEN max(sizeof(BOND_FNAME_PRPH), sizeof(BOND_FNAME_CNTR))
+#define BOND_FNAME_LEN std::max(sizeof(BOND_FNAME_PRPH), sizeof(BOND_FNAME_CNTR))
static void get_fname (char* fname, uint8_t role, uint16_t ediv)
{