Skip to content

Commit 6953914

Browse files
committed
规范格式
1 parent 814c15c commit 6953914

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

bsp/raspberry-pico/applications/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ for item in list:
1414
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
1515
group = group + SConscript(os.path.join(item, 'SConscript'))
1616

17-
Return('group')
17+
Return('group')

bsp/raspberry-pico/applications/lvgl/SConscript

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ group = []
66
src = Glob('*.c')
77
CPPPATH = [cwd]
88

9+
group = DefineGroup('LVGL-port', src, depend = ['BSP_USING_LVGL'], CPPPATH = CPPPATH)
10+
911
list = os.listdir(cwd)
1012
for d in list:
1113
path = os.path.join(cwd, d)
1214
if os.path.isfile(os.path.join(path, 'SConscript')):
1315
group = group + SConscript(os.path.join(d, 'SConscript'))
14-
15-
group += DefineGroup('LVGL-port', src, depend = ['BSP_USING_LVGL'], CPPPATH = CPPPATH)
16+
1617
Return('group')

bsp/raspberry-pico/applications/lvgl/lv_port_disp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void lv_port_disp_init(void)
3636
LCD_Init(HORIZONTAL);
3737

3838
/*Initialize `disp_buf` with the buffer(s).*/
39-
lv_disp_draw_buf_init(&disp_buf, lv_disp_buf1, 0x00, DISP_BUF_SIZE);
39+
lv_disp_draw_buf_init(&disp_buf, lv_disp_buf1, RT_NULL, DISP_BUF_SIZE);
4040

4141
lv_disp_drv_init(&disp_drv); /*Basic initialization*/
4242

0 commit comments

Comments
 (0)