zephyr/samples/bluetooth
Carlos Stuart 75f77db432 include: misc: util.h: Rename min/max to MIN/MAX
There are issues using lowercase min and max macros when compiling a C++
application with a third-party toolchain such as GNU ARM Embedded when
using some STL headers i.e. <chrono>.

This is because there are actual C++ functions called min and max
defined in some of the STL headers and these macros interfere with them.
By changing the macros to UPPERCASE, which is consistent with almost all
other pre-processor macros this naming conflict is avoided.

All files that use these macros have been updated.

Signed-off-by: Carlos Stuart <carlosstuart1970@gmail.com>
2019-02-14 22:16:03 -05:00
..
beacon
central
central_hr
eddystone include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
gatt
handsfree
hci_spi samples: bluetooth: Fix hci_spi sample 2019-02-01 19:12:57 -05:00
hci_uart include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
hci_usb
ibeacon
ipsp
mesh
mesh_demo include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
peripheral
peripheral_csc
peripheral_dis
peripheral_esp
peripheral_hids
peripheral_hr
peripheral_sc_only
scan_adv
bluetooth.rst samples/bluetooth: Add note about Long term key clearance 2019-02-13 19:51:39 +02:00