Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
astyle code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Oct 5, 2018
1 parent a6f4889 commit c3afbc9
Show file tree
Hide file tree
Showing 17 changed files with 3,499 additions and 3,499 deletions.
2 changes: 1 addition & 1 deletion lv_apps/benchmark/benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ uint32_t benchmark_get_refr_time(void)
*/
static void refr_monitor(uint32_t time_ms, uint32_t px_num)
{
(void) px_num; /*Unused*/
(void) px_num ; /*Unused*/

time_sum += time_ms;
refr_cnt ++;
Expand Down
420 changes: 210 additions & 210 deletions lv_apps/benchmark/benchmark_bg.c

Large diffs are not rendered by default.

3,860 changes: 1,930 additions & 1,930 deletions lv_apps/demo/img_bubble_pattern.c

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lv_apps/sysmon/sysmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void sysmon_task(void * param)

(void) param; /*Unused*/

LV_LOG_TRACE("sys_mon task started");
LV_LOG_TRACE("sys_mon task started");

/*Get CPU and memory information */
uint8_t cpu_busy;
Expand Down Expand Up @@ -146,7 +146,7 @@ static void sysmon_task(void * param)
lv_label_set_text(info_label, buf_long);


LV_LOG_TRACE("sys_mon task finished");
LV_LOG_TRACE("sys_mon task finished");
}

/**
Expand Down
4 changes: 2 additions & 2 deletions lv_tests/lv_test_group/lv_test_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ static lv_res_t win_btn_click(lv_obj_t * btn)

static void group_focus_cb(lv_group_t * group)
{
lv_obj_t * f = lv_group_get_focused(group);
if(f != win) lv_win_focus(win, f, 200);
lv_obj_t * f = lv_group_get_focused(group);
if(f != win) lv_win_focus(win, f, 200);
}

/*
Expand Down
338 changes: 169 additions & 169 deletions lv_tests/lv_test_objx/lv_test_img/img_flower_icon.c

Large diffs are not rendered by default.

258 changes: 129 additions & 129 deletions lv_tests/lv_test_objx/lv_test_imgbtn/imgbtn_img_1.c

Large diffs are not rendered by default.

258 changes: 129 additions & 129 deletions lv_tests/lv_test_objx/lv_test_imgbtn/imgbtn_img_2.c

Large diffs are not rendered by default.

338 changes: 169 additions & 169 deletions lv_tests/lv_test_objx/lv_test_imgbtn/imgbtn_img_3.c

Large diffs are not rendered by default.

338 changes: 169 additions & 169 deletions lv_tests/lv_test_objx/lv_test_imgbtn/imgbtn_img_4.c

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lv_tests/lv_test_objx/lv_test_ta/lv_test_ta.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ void lv_test_ta_2(void)

#else
lv_ta_set_text(ta2_1, "First long line\n"
"short\n"
"longer one!");
"short\n"
"longer one!");
#endif
ta2_2 = lv_ta_create(lv_scr_act(), ta2_1);
lv_obj_align(ta2_2, ta2_1, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
Expand Down
2 changes: 1 addition & 1 deletion lv_tests/lv_test_objx/lv_test_tabview/lv_test_tabview.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void lv_test_tabview_1(void)


lv_tabview_ext_t * tv_ext = lv_obj_get_ext_attr(tv1);
char ** btnm_map = (char**)lv_btnm_get_map(tv_ext->btns);
char ** btnm_map = (char **)lv_btnm_get_map(tv_ext->btns);
btnm_map[1][0] |= LV_BTNM_INACTIVE_MASK;

lv_obj_t * tab = lv_tabview_get_tab(tv2, 0);
Expand Down
4 changes: 2 additions & 2 deletions lv_tests/lv_test_theme/lv_test_theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ static void create_tab3(lv_obj_t * parent)

static lv_calendar_date_t highlighted_days[2];
highlighted_days[0].day = 5;
highlighted_days[0].month= 5;
highlighted_days[0].month = 5;
highlighted_days[0].year = 2018;

highlighted_days[1].day = 8;
highlighted_days[1].month= 5;
highlighted_days[1].month = 5;
highlighted_days[1].year = 2018;

lv_calendar_set_highlighted_dates(cal, highlighted_days, 2);
Expand Down
32 changes: 16 additions & 16 deletions lv_tutorial/3_styles/lv_tutorial_styles.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
lv_tutorialtern "C" {
#endif
/*********************
* INCLUDES
*********************/
/*********************
* INCLUDES
*********************/
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_ex_conf.h"
Expand All @@ -23,22 +23,22 @@ lv_tutorialtern "C" {

#if USE_LV_TUTORIALS

/*********************
* DEFINES
*********************/
/*********************
* DEFINES
*********************/

/**********************
* TYPEDEFS
**********************/
/**********************
* TYPEDEFS
**********************/

/**********************
* GLOBAL PROTOTYPES
**********************/
void lv_tutorial_styles(void);
/**********************
* GLOBAL PROTOTYPES
**********************/
void lv_tutorial_styles(void);

/**********************
* MACROS
**********************/
/**********************
* MACROS
**********************/

#endif /*USE_LV_TUTORIALS*/

Expand Down
258 changes: 129 additions & 129 deletions lv_tutorial/5_antialiasing/apple_icon_alpha.c

Large diffs are not rendered by default.

258 changes: 129 additions & 129 deletions lv_tutorial/5_antialiasing/apple_icon_chroma.c

Large diffs are not rendered by default.

620 changes: 310 additions & 310 deletions lv_tutorial/6_images/red_flower.c

Large diffs are not rendered by default.

0 comments on commit c3afbc9

Please sign in to comment.