File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
internal_filesystem/lib/mpos/ui Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,6 @@ def init_rootscreen():
1111 _horizontal_resolution = disp .get_horizontal_resolution ()
1212 _vertical_resolution = disp .get_vertical_resolution ()
1313 print (f"init_rootscreen set _vertical_resolution to { _vertical_resolution } " )
14-
15- # It seems this style
16- style = lv .style_t ()
17- style .init ()
18- #style.set_bg_opa(lv.OPA.TRANSP)
19- style .set_border_width (0 )
20- #style.set_outline_width(0)
21- #style.set_shadow_width(0)
22- style .set_pad_all (0 )
23- style .set_radius (0 )
24- screen .add_style (style , 0 )
25- #screen.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF)
26- #screen.set_scroll_dir(lv.DIR.NONE)
27-
2814 label = lv .label (screen )
2915 label .set_text ("Welcome to MicroPythonOS" )
3016 label .center ()
Original file line number Diff line number Diff line change 11mydir=$( readlink -f " $0 " )
22mydir=$( dirname " $mydir " )
3- fwfile=" $mydir /../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
3+ fwfile=" $0 "
4+ # This would break the --erase-all
5+ # if [ -z "$fwfile" ]; then
6+ # fwfile="$mydir/../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
7+ # fi
48ls -al $fwfile
59echo " Add --erase-all if needed"
610sleep 5
You can’t perform that action at this time.
0 commit comments