diff options
Diffstat (limited to 'src/components/ble/DfuService.h')
-rw-r--r-- | src/components/ble/DfuService.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/ble/DfuService.h b/src/components/ble/DfuService.h index d7ba460c..096bd99a 100644 --- a/src/components/ble/DfuService.h +++ b/src/components/ble/DfuService.h @@ -3,7 +3,11 @@ #include <cstdint> #include <array> +#define min // workaround: nimble's min/max macros conflict with libstdc++ +#define max #include <host/ble_gap.h> +#undef max +#undef min namespace Pinetime { namespace System { |