From 8b79e934a614e1a65146aa316f266f77063df401 Mon Sep 17 00:00:00 2001 From: h2zero Date: Thu, 11 Jun 2020 08:13:39 -0600 Subject: [PATCH] Fix Compiliation in IDF4.0 --- src/NimBLEUtils.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NimBLEUtils.h b/src/NimBLEUtils.h index 9e537cc..891f835 100644 --- a/src/NimBLEUtils.h +++ b/src/NimBLEUtils.h @@ -13,6 +13,11 @@ #include "host/ble_gap.h" +/**** FIX COMPILATION ****/ +#undef min +#undef max +/**************************/ + #include typedef struct {