|
@@ -3187,13 +3187,13 @@ lcd_wait_for_click_delay(0);
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-int8_t lcd_show_multiscreen_message_yes_no_and_wait_P(const char *msg, bool allow_timeouting, bool default_yes)
|
|
|
+int8_t lcd_show_multiscreen_message_yes_no_and_wait_P(const char *msg, bool allow_timeouting, uint8_t default_selection)
|
|
|
{
|
|
|
- return lcd_show_multiscreen_message_with_choices_and_wait_P(msg, allow_timeouting, default_yes, _T(MSG_YES), _T(MSG_NO), nullptr, 10);
|
|
|
+ return lcd_show_multiscreen_message_with_choices_and_wait_P(msg, allow_timeouting, default_selection, _T(MSG_YES), _T(MSG_NO), nullptr, 10);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -3224,7 +3224,7 @@ void lcd_show_choices_prompt_P(uint8_t selected, const char *first_choice, const
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -3233,7 +3233,7 @@ void lcd_show_choices_prompt_P(uint8_t selected, const char *first_choice, const
|
|
|
|
|
|
|
|
|
|
|
|
-int8_t lcd_show_multiscreen_message_with_choices_and_wait_P(const char *msg, bool allow_timeouting, bool default_first,
|
|
|
+int8_t lcd_show_multiscreen_message_with_choices_and_wait_P(const char *msg, bool allow_timeouting, uint8_t default_selection,
|
|
|
const char *first_choice, const char *second_choice, const char *third_choice, uint8_t second_col)
|
|
|
{
|
|
|
const char *msg_next = msg ? lcd_display_message_fullscreen_P(msg) : NULL;
|
|
@@ -3241,7 +3241,7 @@ int8_t lcd_show_multiscreen_message_with_choices_and_wait_P(const char *msg, boo
|
|
|
lcd_set_custom_characters_nextpage();
|
|
|
|
|
|
|
|
|
- uint8_t current_selection = default_first ? MIDDLE_BUTTON_CHOICE : LEFT_BUTTON_CHOICE;
|
|
|
+ uint8_t current_selection = default_selection;
|
|
|
if (!msg_next) {
|
|
|
lcd_show_choices_prompt_P(current_selection, first_choice, second_choice, second_col, third_choice);
|
|
|
}
|
|
@@ -3314,26 +3314,26 @@ int8_t lcd_show_multiscreen_message_with_choices_and_wait_P(const char *msg, boo
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-int8_t lcd_show_yes_no_and_wait(bool allow_timeouting, bool default_yes)
|
|
|
+int8_t lcd_show_yes_no_and_wait(bool allow_timeouting, uint8_t default_selection)
|
|
|
{
|
|
|
- return lcd_show_multiscreen_message_yes_no_and_wait_P(NULL, allow_timeouting, default_yes);
|
|
|
+ return lcd_show_multiscreen_message_yes_no_and_wait_P(NULL, allow_timeouting, default_selection);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-int8_t lcd_show_fullscreen_message_yes_no_and_wait_P(const char *msg, bool allow_timeouting, bool default_yes)
|
|
|
+int8_t lcd_show_fullscreen_message_yes_no_and_wait_P(const char *msg, bool allow_timeouting, uint8_t default_selection)
|
|
|
{
|
|
|
- return lcd_show_multiscreen_message_yes_no_and_wait_P(msg, allow_timeouting, default_yes);
|
|
|
+ return lcd_show_multiscreen_message_yes_no_and_wait_P(msg, allow_timeouting, default_selection);
|
|
|
}
|
|
|
|
|
|
void lcd_bed_calibration_show_result(BedSkewOffsetDetectionResultType result, uint8_t point_too_far_mask)
|