mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-10-01 03:53:41 +08:00
clean up
This commit is contained in:
@@ -382,9 +382,7 @@ class WifiUIMici(NavWidget):
|
||||
def _update_state(self):
|
||||
super()._update_state()
|
||||
|
||||
t = time.monotonic()
|
||||
self._move_network_to_front(self._wifi_manager.wifi_state.ssid)
|
||||
print('took', (time.monotonic() - t) * 1000, 'ms to move network to front')
|
||||
|
||||
# Show loading animation near end
|
||||
max_scroll = max(self._scroller.content_size - self._scroller.rect.width, 1)
|
||||
|
||||
Reference in New Issue
Block a user