Skip to content

Commit

Permalink
Presto: pass through SSID and password.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Nov 29, 2024
1 parent 40626af commit 4d2e870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/py_frozen/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def touch_delta(self):
async def async_connect(self):
await self.wifi.connect()

def connect(self):
return asyncio.get_event_loop().run_until_complete(self.wifi.connect())
def connect(self, ssid=None, password=None):
return asyncio.get_event_loop().run_until_complete(self.wifi.connect(ssid, password))

def update(self):
self.presto.update(self.display)
Expand Down

0 comments on commit 4d2e870

Please sign in to comment.