From 69563ed03155eb861f8b8ada1df1325995fab51b Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sun, 21 Aug 2022 14:52:38 +0300 Subject: Add sleep mode which disables notifications, touch- and motion wakeup (#1261) --- src/components/settings/Settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/settings/Settings.h') diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 3b113ead..478408f6 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -9,7 +9,7 @@ namespace Pinetime { class Settings { public: enum class ClockType : uint8_t { H24, H12 }; - enum class Notification : uint8_t { ON, OFF }; + enum class Notification : uint8_t { On, Off, Sleep }; enum class ChimesOption : uint8_t { None, Hours, HalfHours }; enum class WakeUpMode : uint8_t { SingleTap = 0, @@ -219,7 +219,7 @@ namespace Pinetime { uint32_t screenTimeOut = 15000; ClockType clockType = ClockType::H24; - Notification notificationStatus = Notification::ON; + Notification notificationStatus = Notification::On; uint8_t clockFace = 0; ChimesOption chimesOption = ChimesOption::None; -- cgit v1.2.3-70-g09d2