Update clang-{format,tidy} to 14
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
This commit is contained in:
@@ -529,6 +529,7 @@ void DisplayApp::PushMessageToSystemTask(Pinetime::System::Messages message) {
|
||||
void DisplayApp::Register(Pinetime::System::SystemTask* systemTask) {
|
||||
this->systemTask = systemTask;
|
||||
}
|
||||
|
||||
void DisplayApp::ApplyBrightness() {
|
||||
auto brightness = settingsController.GetBrightness();
|
||||
if (brightness != Controllers::BrightnessController::Levels::Low && brightness != Controllers::BrightnessController::Levels::Medium &&
|
||||
|
@@ -333,6 +333,7 @@ void WatchFaceCasioStyleG7710::Refresh() {
|
||||
lv_obj_realign(stepIcon);
|
||||
}
|
||||
}
|
||||
|
||||
bool WatchFaceCasioStyleG7710::IsAvailable(Pinetime::Controllers::FS& filesystem) {
|
||||
lfs_file file = {};
|
||||
|
||||
|
@@ -18,6 +18,7 @@ namespace {
|
||||
screen->SetTime();
|
||||
}
|
||||
}
|
||||
|
||||
void ValueChangedHandler(void* userData) {
|
||||
auto* screen = static_cast<SettingSetTime*>(userData);
|
||||
screen->UpdateScreen();
|
||||
|
@@ -18,6 +18,7 @@ namespace {
|
||||
widget->DownBtnPressed();
|
||||
}
|
||||
}
|
||||
|
||||
constexpr int digitCount(int number) {
|
||||
int digitCount = 0;
|
||||
while (number > 0) {
|
||||
@@ -67,6 +68,7 @@ void Counter::HideControls() {
|
||||
lv_obj_set_hidden(lowerLine, true);
|
||||
lv_obj_set_style_local_bg_opa(counterContainer, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_TRANSP);
|
||||
}
|
||||
|
||||
void Counter::ShowControls() {
|
||||
lv_obj_set_hidden(upBtn, false);
|
||||
lv_obj_set_hidden(downBtn, false);
|
||||
|
Reference in New Issue
Block a user