Apply clang-format to Settings.h
This commit is contained in:
parent
c5fde89016
commit
60536db45c
@ -106,7 +106,6 @@ namespace Pinetime {
|
|||||||
return watchFacesMenu;
|
return watchFacesMenu;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
uint8_t GetAppMenu() const {
|
uint8_t GetAppMenu() const {
|
||||||
return appMenu;
|
return appMenu;
|
||||||
};
|
};
|
||||||
@ -149,15 +148,14 @@ namespace Pinetime {
|
|||||||
return settings.screenTimeOut;
|
return settings.screenTimeOut;
|
||||||
};
|
};
|
||||||
|
|
||||||
void SetShakeThreshold(uint16_t thresh){
|
void SetShakeThreshold(uint16_t thresh) {
|
||||||
if(settings.shakeWakeThreshold != thresh){
|
if (settings.shakeWakeThreshold != thresh) {
|
||||||
settings.shakeWakeThreshold = thresh;
|
settings.shakeWakeThreshold = thresh;
|
||||||
settingsChanged = true;
|
settingsChanged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t GetShakeThreshold() const{
|
int16_t GetShakeThreshold() const {
|
||||||
return settings.shakeWakeThreshold;
|
return settings.shakeWakeThreshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,13 +209,13 @@ namespace Pinetime {
|
|||||||
return settings.stepsGoal;
|
return settings.stepsGoal;
|
||||||
};
|
};
|
||||||
|
|
||||||
void SetBleRadioEnabled(bool enabled) {
|
void SetBleRadioEnabled(bool enabled) {
|
||||||
bleRadioEnabled = enabled;
|
bleRadioEnabled = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool GetBleRadioEnabled() const {
|
bool GetBleRadioEnabled() const {
|
||||||
return bleRadioEnabled;
|
return bleRadioEnabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Pinetime::Controllers::FS& fs;
|
Pinetime::Controllers::FS& fs;
|
||||||
|
Loading…
Reference in New Issue
Block a user