Skip to content

Commit

Permalink
update:vsim demo开启USB网卡做测试
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Aug 20, 2024
1 parent 3d50521 commit 17eadf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/vsim/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ log.info("main", PROJECT, VERSION)

-- sys库是标配
_G.sys = require("sys")
mobile.config(mobile.USB_ETHERNET, 3)
mobile.config(mobile.CONF_USB_ETHERNET, 3)
mobile.vsimInit()
mobile.flymode(nil,true)
mobile.vsimOnOff(true)
Expand Down

0 comments on commit 17eadf4

Please sign in to comment.