disabled wifi power management for now
This commit is contained in:
@@ -40,6 +40,9 @@ def setup_wifi():
|
|||||||
wlan.config(ssid=f"TonberryPicoAP_{machine.unique_id().hex()}", security=wlan.SEC_OPEN)
|
wlan.config(ssid=f"TonberryPicoAP_{machine.unique_id().hex()}", security=wlan.SEC_OPEN)
|
||||||
wlan.active(True)
|
wlan.active(True)
|
||||||
|
|
||||||
|
# disable power management
|
||||||
|
wlan.config(pm=network.WLAN.PM_NONE)
|
||||||
|
|
||||||
|
|
||||||
DB_PATH = '/sd/tonberry.db'
|
DB_PATH = '/sd/tonberry.db'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user