summaryrefslogtreecommitdiff
path: root/src/components/ble/NotificationManager.h
diff options
context:
space:
mode:
authorokaestne <git@oliver-kaestner.de>2020-11-15 14:05:51 (GMT)
committerokaestne <git@oliver-kaestner.de>2020-11-16 00:35:45 (GMT)
commit1516573df46239ea76b7a8b142a6b719668cb26d (patch)
treeb11259f8ca0e10e3d1e2da5df827703ac0294317 /src/components/ble/NotificationManager.h
parentc3475b92fad2eff4b2a43e5343863d11fe4caca3 (diff)
Include cleanup: components
Diffstat (limited to 'src/components/ble/NotificationManager.h')
-rw-r--r--src/components/ble/NotificationManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h
index 49fe830..036d2ed 100644
--- a/src/components/ble/NotificationManager.h
+++ b/src/components/ble/NotificationManager.h
@@ -2,6 +2,8 @@
#include <array>
#include <atomic>
+#include <cstddef>
+#include <cstdint>
namespace Pinetime {
namespace Controllers {
@@ -27,7 +29,7 @@ namespace Pinetime {
bool ClearNewNotificationFlag();
bool AreNewNotificationsAvailable();
- static constexpr uint8_t MaximumMessageSize() { return MessageSize; };
+ static constexpr size_t MaximumMessageSize() { return MessageSize; };
size_t NbNotifications() const;
private: