[debug]
This commit is contained in:
parent
aa0b1bc76a
commit
98386d3df0
|
@ -313,15 +313,15 @@ if __name__ == '__main__':
|
||||||
debug_mode = False # 设置为 True 以跳过 Wi-Fi 连接状态检测
|
debug_mode = False # 设置为 True 以跳过 Wi-Fi 连接状态检测
|
||||||
if debug_mode:
|
if debug_mode:
|
||||||
disconnect_wifi()
|
disconnect_wifi()
|
||||||
wifi_list = scan_wifi()
|
# wifi_list = scan_wifi()
|
||||||
print(wifi_list)
|
# print(wifi_list)
|
||||||
|
|
||||||
start_hotspot()
|
# start_hotspot()
|
||||||
|
|
||||||
# app.run(host='0.0.0.0', port=80)
|
# app.run(host='0.0.0.0', port=80)
|
||||||
|
|
||||||
if connect_wifi("Innoxsz-Public", "innox2023"):
|
# if connect_wifi("Innoxsz-Public", "innox2023"):
|
||||||
close_app()
|
# close_app()
|
||||||
|
|
||||||
if led_enabled:
|
if led_enabled:
|
||||||
orangepi.set_led_on('blue')
|
orangepi.set_led_on('blue')
|
||||||
|
|
Loading…
Reference in New Issue