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:
parent
318a243df1
commit
eda96ffadc
17 changed files with 32 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue