InfiniTime.git

commit 4d86a3c6c16291be756a94197f73a5ad57a9a0af

Author: Ritvik <ritviktanksalkar@gmail.com>

Fix conflicts of min and max from stl_algo.h (included from atomic)

 src/components/ble/HeartRateService.h | 2 +-


diff --git a/src/components/ble/HeartRateService.h b/src/components/ble/HeartRateService.h
index 72632c9639d6cbb646a807faa2cb8893af4bd79f..3f32fd0971a561a4e8c3f8cda72f8bd50d42dd97 100644
--- a/src/components/ble/HeartRateService.h
+++ b/src/components/ble/HeartRateService.h
@@ -2,9 +2,9 @@ #pragma once
 #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 {