Skip to content

Conversation

@Unreal-Dan
Copy link
Collaborator

@Unreal-Dan Unreal-Dan commented Apr 6, 2025

Use this PR to review the differences between Aeos and Helios

DO NOT MERGE THIS

livingkurt and others added 30 commits August 15, 2025 22:16
- Removed the condition for FLAG_LOCK_ON in the autoplay logic to simplify the state management.
- Enhanced clarity in the mode iteration process when autoplay is enabled, ensuring smoother functionality without unnecessary checks.
- Maintained existing functionalities while improving the overall code structure.
- Updated methods for managing global flags to improve clarity and consistency, renaming `has_flag` to `has_flags` and introducing `has_any_flags`.
- Adjusted conditional checks throughout the Helios state handling logic to utilize the new flag methods, enhancing readability and maintainability.
- Ensured existing functionalities remain intact while refining the overall code structure.
- Removed unnecessary whitespace in the conditional check for playing the current mode.
- Improved code readability without altering the existing functionality.
- Renamed `has_any_flag` to `has_any_flags` for consistency with recent refactoring.
- Improved clarity in the conditional check for conjure and lock on flags without changing functionality.
- Added explicit type casting to `Flags` in conditional checks for `has_any_flags` to enhance type safety.
- Maintained existing functionality while improving code clarity and consistency.
- Replaced direct call to `toggle_flag` with `handle_state_toggle_flag` for improved consistency in flag management.
- Updated the `handle_state_toggle_flag` method to use `toggle_flags`, enhancing clarity in the flag toggling process.
- Maintained existing functionality while refining the code structure for better readability.
- Updated the conditional check for invalid global flags to ensure factory reset is triggered only when flags are valid.
- Enhanced code clarity by refining the logic without altering existing functionality.
- Introduced validation for global flags and brightness settings during loading, ensuring proper initialization.
- Implemented factory reset logic when flags are invalid or brightness is zero, improving robustness against uninitialized storage.
- Reset global brightness to default during factory reset to maintain consistent behavior.
- Cleaned up the test files by removing excessive instances of the color code `FF0000` and replaced it with `000000` or other relevant codes where necessary.
- Enhanced readability and maintainability of the test cases by reducing clutter and ensuring consistent color usage across tests.
- Updated the flag checking logic to improve clarity and consistency across the codebase.
- Renamed methods and streamlined the process for managing global flags, ensuring better readability without altering existing functionality.
…lt-autoplay

kurt/aeos/fix-default-autoplay
- Updated .gitignore to include exceptions for configuration files (*.conf), ensuring they are not ignored during version control.
…se its default system configuration file automatically
…ibility with pickit5_updi, enhancing upload process for macOS and non-Darwin systems.
… definitions for AVRDUDE, simplifying the upload process and enhancing compatibility with t85 and usbtiny.
…ip type, simplifying the build process and ensuring compatibility with Homebrew installations.
…E configuration accordingly, improving compatibility for both Intel and Apple Silicon systems.
…d existing patterns, and updated Makefile for aeos firmware. Adjusted argument parsing in cli_main.cpp to accommodate additional parameters and refined PNG/SVG generation scripts to use a virtual environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants