diff options
author | JF002 <JF002@users.noreply.github.com> | 2020-12-01 21:44:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 21:44:44 +0100 |
commit | c6556bcdea7671f1c1daaa9e20c4c3d7cd5f29a4 (patch) | |
tree | 38c920cd13ed3768af2363de317ef3adf4483bd6 /src/components/ble/NotificationManager.h | |
parent | c87de415b28710ec0f5a504fe4720402b9be5ebc (diff) | |
parent | 6e22509b5ffe6d7c29d09b07f38e64fb1bdc0b21 (diff) |
Merge pull request #136 from okaestne/include-cleanup
Includes cleanup
Diffstat (limited to 'src/components/ble/NotificationManager.h')
-rw-r--r-- | src/components/ble/NotificationManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h index 49fe8306..036d2ed9 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: |