diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2019-03-14 14:44:18 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2019-03-14 14:44:18 -0400 |
commit | 352e0df7d800b033ce24ad1022461f5d1908da93 (patch) | |
tree | 3cf6adf03311668fe3ecbbb21c070668624fa10a /arduino/libraries | |
parent | 31e115f7e72532fbfd456709e95d440e3be46fa1 (diff) |
cleanup, display screen abstraction
Diffstat (limited to 'arduino/libraries')
-rwxr-xr-x | arduino/libraries/Bluefruit52Lib/src/utility/bonding.cpp | 2 |
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) { |