Skip to content

Commit

Permalink
Few comment corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Apr 2, 2019
1 parent 08722f5 commit 75f5849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ In the most simple case you need to do these steps:
```c
static lv_disp_buf_t disp_buf;
static lv_color_t buf[LV_HOR_RES_MAX * 10]; /*Declare a buffer for 10 lines*/
v_disp_buf_init(&disp_buf1, buf, NULL, LV_HOR_RES_MAX * 10); /*Initialize the display buffer*/
lv_disp_buf_init(&disp_buf, buf, NULL, LV_HOR_RES_MAX * 10); /*Initialize the display buffer*/
```
4. Implement and register a function which can **copy a pixel array** to an area of your diplay:
```c
Expand Down
2 changes: 1 addition & 1 deletion src/lv_core/lv_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ typedef struct _lv_group_t
uint8_t frozen :1; /*1: can't focus to new object*/
uint8_t editing :1; /*1: Edit mode, 0: Navigate mode*/
uint8_t click_focus :1; /*1: If an object in a group is clicked by an indev then it will be focused */
uint8_t refocus_policy :1; /*1: Focus prev if focused on deletion. 0: Focus prev if focused on deletion.*/
uint8_t refocus_policy :1; /*1: Focus prev if focused on deletion. 0: Focus next if focused on deletion.*/
uint8_t wrap :1; /*1: Focus next/prev can wrap at end of list. 0: Focus next/prev stops at end of list.*/
} lv_group_t;

Expand Down
2 changes: 1 addition & 1 deletion src/lv_hal/lv_hal_disp.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ typedef struct _disp_drv_t {
#endif
uint32_t rotated :1; /*1: turn the display by 90 degree.*/

/* MANDATORY: Write the internal buffer (VDB) to the display. 'lv_flush_ready()' has to be called when finished */
/* MANDATORY: Write the internal buffer (VDB) to the display. 'lv_disp_flush_ready()' has to be called when finished */
void (*flush_cb)(struct _disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p);

/* OPTIONAL: Extend the invalidated areas to match with the display drivers requirements
Expand Down
1 change: 1 addition & 0 deletions src/lv_objx/lv_roller.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ lv_obj_t * lv_roller_create(lv_obj_t * par, const lv_obj_t * copy);
* Set the options on a roller
* @param roller pointer to roller object
* @param options a string with '\n' separated options. E.g. "One\nTwo\nThree"
* @param inf True: Loop through the options
*/
void lv_roller_set_options(lv_obj_t * roller, const char * options, bool inf);

Expand Down

0 comments on commit 75f5849

Please sign in to comment.