aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/HeartRateService.h
diff options
context:
space:
mode:
authorRitvik <ritviktanksalkar@gmail.com>2024-02-21 20:43:04 -0500
committerJF <JF002@users.noreply.github.com>2024-03-13 21:58:13 +0100
commit4d86a3c6c16291be756a94197f73a5ad57a9a0af (patch)
tree445a2b42edc5de697098b84b1399cdb52422078f /src/components/ble/HeartRateService.h
parent3b4b5a51639016a87ef7309475f2ca83807804cf (diff)
Fix conflicts of min and max from stl_algo.h (included from atomic)
Diffstat (limited to 'src/components/ble/HeartRateService.h')
-rw-r--r--src/components/ble/HeartRateService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/HeartRateService.h b/src/components/ble/HeartRateService.h
index 72632c96..3f32fd09 100644
--- a/src/components/ble/HeartRateService.h
+++ b/src/components/ble/HeartRateService.h
@@ -2,9 +2,9 @@
#define min // workaround: nimble's min/max macros conflict with libstdc++
#define max
#include <host/ble_gap.h>
-#include <atomic>
#undef max
#undef min
+#include <atomic>
namespace Pinetime {
namespace Controllers {