Add global/hardware settings to metadata EEPROM

This commit is contained in:
2025-07-20 12:42:25 -07:00
parent 385ce85da3
commit 16b2c2cd87
3 changed files with 35 additions and 10 deletions

View File

@ -181,8 +181,8 @@ void HandleEncoderPressed() {
if (app.selected_channel == 0) { // main page
// TODO: rewrite as switch
if (app.selected_param == PARAM_MAIN_ENCODER_DIR) {
bool reversed = app.selected_sub_param == 1;
gravity.encoder.SetReverseDirection(reversed);
app.encoder_reversed = app.selected_sub_param == 1;
gravity.encoder.SetReverseDirection(app.encoder_reversed);
}
if (app.selected_param == PARAM_MAIN_SAVE_DATA) {
if (app.selected_sub_param < MAX_SAVE_SLOTS) {