Code formatting

This commit is contained in:
Alexander Enchevich
2018-07-06 17:12:06 +03:00
parent 8083432925
commit 70d5e5a012
2 changed files with 44 additions and 46 deletions

View File

@@ -549,8 +549,7 @@ static lv_res_t lv_page_signal(lv_obj_t * page, lv_signal_t sign, void * param)
lv_obj_set_y(scrl, lv_obj_get_y(scrl) - LV_DPI / 2);
#endif
}
else if(c == LV_GROUP_KEY_UP || c == LV_GROUP_KEY_LEFT) {
} else if(c == LV_GROUP_KEY_UP || c == LV_GROUP_KEY_LEFT) {
#if USE_LV_ANIMATION
lv_anim_t a;
a.var = scrl;
@@ -570,8 +569,7 @@ static lv_res_t lv_page_signal(lv_obj_t * page, lv_signal_t sign, void * param)
lv_obj_set_y(scrl, lv_obj_get_y(scrl) - LV_DPI / 2);
#endif
}
}
else if(sign == LV_SIGNAL_GET_TYPE) {
} else if(sign == LV_SIGNAL_GET_TYPE) {
lv_obj_type_t * buf = param;
uint8_t i;
for(i = 0; i < LV_MAX_ANCESTOR_NUM - 1; i++) { /*Find the last set data*/