-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rg_system: Replaced get_led/set_led by a more robust system
There are now "indicators" that can be toggled independently and rg_system will decide what to do with the LED. Replacement for `rg_system_set_led(1)` could be `rg_system_set_indicator(RG_INDICATOR_USER_ACTIVITY, 1)` This solves several issues: 1. The low battery flasher no longer turns off an LED set by an app or disk activity (or vice versa) 2. It allows to set different characteristics such as intensity, flashing, color depending on the active indicator 3. It makes it easier for the user to disable certain indicators that annoys them
- Loading branch information
Showing
5 changed files
with
65 additions
and
49 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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