Skip to content

Commit

Permalink
Nit: pass the write/read handlers in the correct order (#15902)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Nov 14, 2023
1 parent b341d90 commit 2ce0833
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions menu/menu_setting.c
Original file line number Diff line number Diff line change
Expand Up @@ -10559,8 +10559,8 @@ static bool setting_append_list(
&group_info,
&subgroup_info,
parent_group,
general_read_handler,
general_write_handler);
general_write_handler,
general_read_handler);
SETTINGS_DATA_LIST_CURRENT_ADD_FLAGS(list, list_info, SD_FLAG_IS_DRIVER);
(*list)[list_info->index - 1].action_ok = setting_action_ok_uint;
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
Expand Down Expand Up @@ -11289,8 +11289,8 @@ static bool setting_append_list(
&group_info,
&subgroup_info,
parent_group,
general_read_handler,
general_write_handler);
general_write_handler,
general_read_handler);
SETTINGS_DATA_LIST_CURRENT_ADD_FLAGS(list, list_info, SD_FLAG_IS_DRIVER);
(*list)[list_info->index - 1].action_ok = setting_action_ok_uint;
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
Expand Down Expand Up @@ -22087,8 +22087,8 @@ static bool setting_append_list(
&group_info,
&subgroup_info,
parent_group,
general_read_handler,
general_write_handler);
general_write_handler,
general_read_handler);
SETTINGS_DATA_LIST_CURRENT_ADD_FLAGS(list, list_info, SD_FLAG_IS_DRIVER);
(*list)[list_info->index - 1].action_ok = setting_action_ok_uint;
(*list)[list_info->index - 1].change_handler = timezone_change_handler;
Expand Down

0 comments on commit 2ce0833

Please sign in to comment.