Chimes option

This commit is contained in:
SteveAmor
2021-11-07 10:50:33 +00:00
parent 0aa73c2279
commit 5932391c8b
12 changed files with 179 additions and 2 deletions

View File

@@ -41,6 +41,16 @@ namespace Pinetime {
return settings.clockFace;
};
void SetChimesState(uint8_t state) {
if (state != settings.chimesState) {
settingsChanged = true;
}
settings.chimesState = state;
};
uint8_t GetChimesState() const {
return settings.chimesState;
};
void SetPTSColorTime(Colors colorTime) {
if (colorTime != settings.PTS.ColorTime)
settingsChanged = true;
@@ -173,6 +183,7 @@ namespace Pinetime {
Notification notificationStatus = Notification::ON;
uint8_t clockFace = 0;
uint8_t chimesState = 0;
PineTimeStyle PTS;