chore: remove BOM and fix typos (#4685)

This commit is contained in:
Viktor Szépe
2023-10-22 06:39:43 +02:00
committed by GitHub
parent 89dd481747
commit f9572ed303
52 changed files with 132 additions and 131 deletions

View File

@@ -19,7 +19,7 @@
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t gylph_bitmap[] = {
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+20 " " */
/* U+61 "a" */
@@ -285,7 +285,7 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
/*Store all the custom data of the font*/
static lv_font_fmt_txt_dsc_t font_dsc = {
.glyph_bitmap = gylph_bitmap,
.glyph_bitmap = glyph_bitmap,
.glyph_dsc = glyph_dsc,
.cmaps = cmaps,
.kern_dsc = &kern_classes,

View File

@@ -19,7 +19,7 @@
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t gylph_bitmap[] = {
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+20 " " */
/* U+61 "a" */
@@ -323,7 +323,7 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
/*Store all the custom data of the font*/
static lv_font_fmt_txt_dsc_t font_dsc = {
.glyph_bitmap = gylph_bitmap,
.glyph_bitmap = glyph_bitmap,
.glyph_dsc = glyph_dsc,
.cmaps = cmaps,
.kern_dsc = &kern_classes,

View File

@@ -20,7 +20,7 @@
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t gylph_bitmap[] = {
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+20 " " */
/* U+61 "a" */
@@ -474,7 +474,7 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
/*Store all the custom data of the font*/
static lv_font_fmt_txt_dsc_t font_dsc = {
.glyph_bitmap = gylph_bitmap,
.glyph_bitmap = glyph_bitmap,
.glyph_dsc = glyph_dsc,
.cmaps = cmaps,
.kern_dsc = &kern_classes,

View File

@@ -101,7 +101,7 @@ static void show_scene_report(void);
static void calc_scene_statistics(void);
static lv_result_t load_next_scene(void);
static void next_scene_timer_cb(lv_timer_t * timer);
static void single_scene_finsih_timer_cb(lv_timer_t * timer);
static void single_scene_finish_timer_cb(lv_timer_t * timer);
static void dummy_flush_cb(lv_display_t * drv, const lv_area_t * area, uint8_t * pxmap);
static void generate_report(void);
@@ -717,10 +717,10 @@ void lv_demo_benchmark_run_scene(lv_demo_benchmark_mode_t _mode, uint16_t scene_
lv_refr_now(NULL);
}
single_scene_finsih_timer_cb(NULL);
single_scene_finish_timer_cb(NULL);
}
else {
lv_timer_t * t = lv_timer_create(single_scene_finsih_timer_cb, SCENE_TIME, NULL);
lv_timer_t * t = lv_timer_create(single_scene_finish_timer_cb, SCENE_TIME, NULL);
lv_timer_set_repeat_count(t, 1);
}
}
@@ -864,7 +864,7 @@ static void next_scene_timer_cb(lv_timer_t * timer)
}
}
static void single_scene_finsih_timer_cb(lv_timer_t * timer)
static void single_scene_finish_timer_cb(lv_timer_t * timer)
{
LV_UNUSED(timer);
calc_scene_statistics();