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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user