Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions modalapi/modhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ def poll_wifi(self):
if wifi_update is not None:
self.wifi_status = wifi_update
self.lcd.update_wifi(self.wifi_status)
wifi_menu = getattr(self.lcd, 'wifi_menu', None)
if wifi_menu is not None:
wifi_menu.notify_status_change()

def poll_system_info(self):
# Get the system state from the systemd service
Expand Down Expand Up @@ -375,6 +378,7 @@ def set_current_pedalboard(self, pedalboard):
self.load_current_presets()
self.lcd.link_data(self.pedalboard_list, self.current, self.hardware.footswitches)
self.lcd.draw_main_panel()
self.lcd.update_wifi(self.wifi_status)

def bind_current_pedalboard(self):
# "current" being the pedalboard mod-host says is current
Expand Down Expand Up @@ -768,9 +772,6 @@ def system_toggle_hotspot(self, **kwargs):
else:
self.wifi_manager.enable_hotspot()

def configure_wifi_credentials(self, ssid, password):
return self.wifi_manager.configure_wifi(ssid, password)

def audio_parameter_change(self, direction, name, symbol, value, min, max, commit_callback):
if symbol is not None:
d = self.lcd.draw_audio_parameter_dialog(name, symbol, value, min, max, commit_callback)
Expand Down
Loading