Skip to content
Snippets Groups Projects
Select Git revision
  • 8e5dae5a32c589daf0339ee0941ca199ffa11c29
  • main default protected
  • phhw
  • captouch-threshold
  • t
  • dos
  • test2
  • test
  • slewtest
  • simtest
  • view-think
  • vm-pending
  • media-buf
  • scope
  • passthrough
  • wave
  • vsync
  • dos-main-patch-50543
  • json-error
  • rahix/big-flow3r
  • pippin/media_framework
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

application.py

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    • dos's avatar
      8e5dae5a
      py,st3m: Move WiFi and LED state handling out of Application class · 8e5dae5a
      dos authored
      Application class is the user's code, we shouldn't rely on it
      implementing system-level functionality as there are several
      ways for the user to accidentally break it.
      
      This isn't a perfect place for it either, but it's at least better
      than before. It's going to be revisited in the future, perhaps
      by giving each app their own ViewManager instance that could
      then properly track application's lifecycle.
      
      One functional difference is that st3m.wifi._onoff_wifi_update()
      is now being called when quitting any app, not just those
      that request a particular WiFi state in their config.
      Verified
      8e5dae5a
      History
      py,st3m: Move WiFi and LED state handling out of Application class
      dos authored
      Application class is the user's code, we shouldn't rely on it
      implementing system-level functionality as there are several
      ways for the user to accidentally break it.
      
      This isn't a perfect place for it either, but it's at least better
      than before. It's going to be revisited in the future, perhaps
      by giving each app their own ViewManager instance that could
      then properly track application's lifecycle.
      
      One functional difference is that st3m.wifi._onoff_wifi_update()
      is now being called when quitting any app, not just those
      that request a particular WiFi state in their config.
    run.py 9.09 KiB