[BUG] Stopped 112ms gyro scan to fix CPU cycle#28
Merged
Conversation
4 tasks
Contributor
|
[CHANGE LOG] 📋 Changelog updated for PR #28. View changelog |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes Made
apps/launcher/main.py: Added module-level_APPS_CACHEand_CATEGORIES_CACHEsolist_apps()(which opens 20+ manifest.json files from flash) is only called once per roster change, not every drawer open. Addedinvalidate_apps_cache()hook for Store/Updates to call after install/uninstall. Added segment-timed_lap()prints insideon_enterto identify which phase is slow on real hardware.apps/store/main.py: Callsinvalidate_apps_cache()after a successful install or uninstall so the launcher drawer reflects the new roster immediately instead of waiting for reboot.apps/wifi/main.py: Replaced subnet/gateway rows with Networks, Speed, and Ping rows. Added "nets" sub-page for saved-networks management (UP/DOWN to browse, A to connect + promote to priority 1, B to forget, LEFT to toggle metered). Added_run_speed_test()and_run_ping()with a_paint_busy()intermediate frame so the screen doesn't appear frozen during synchronous network calls. Updated module docstring and hint bar.Checklist
=, no pathlib, no walrus in modules that ship to flash