From 352e0df7d800b033ce24ad1022461f5d1908da93 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 14 Mar 2019 14:44:18 -0400 Subject: cleanup, display screen abstraction --- arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arduino/libraries') 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) { -- cgit v1.2.3