Rename lcd_reprint_usb_print to lcd_send_action_start

Sending action start can not only be used for reprints
This commit is contained in:
sarusani 2023-12-03 07:13:52 +01:00
parent d267140ee6
commit 4d9e084cf7
2 changed files with 4 additions and 4 deletions

View File

@ -5198,7 +5198,7 @@ static void lcd_main_menu()
if ((GetPrinterState() == PrinterState::SDPrintingFinished) && card.cardOK) {
MENU_ITEM_SUBMENU_P(_T(MSG_REPRINT), lcd_reprint_from_eeprom);
} else if ((GetPrinterState() == PrinterState::HostPrintingFinished) && M79_timer_get_status()) {
MENU_ITEM_SUBMENU_P(_T(MSG_REPRINT), lcd_reprint_usb_print);
MENU_ITEM_SUBMENU_P(_T(MSG_REPRINT), lcd_send_action_start);
}
}
@ -7484,8 +7484,8 @@ void lcd_reprint_from_eeprom() {
lcd_return_to_status();
}
//! @brief Send host action "reprint"
void lcd_reprint_usb_print()
//! @brief Send host action "start"
void lcd_send_action_start()
{
SERIAL_PROTOCOLLNRPGM(MSG_OCTOPRINT_START);
lcd_return_to_status();

View File

@ -57,7 +57,7 @@ void lcd_loading_color();
void lcd_sdcard_stop();
void lcd_pause_print();
void lcd_pause_usb_print();
void lcd_reprint_usb_print();
void lcd_send_action_start();
void lcd_resume_print();
void lcd_print_stop(); // interactive print stop
void print_stop(bool interactive=false);