✏️Minor style and typo fixups (#26947)

* tweaks from PR, whitespace, wording in pause.h

* Update Marlin/src/feature/pause.h
This commit is contained in:
Andrew
2024-04-11 02:13:54 -04:00
committed by GitHub
parent a75a5f8b2a
commit 1b091ecb87
3 changed files with 5 additions and 7 deletions

View File

@@ -57,9 +57,7 @@ enum PauseMessage : char {
}; };
#if M600_PURGE_MORE_RESUMABLE #if M600_PURGE_MORE_RESUMABLE
/** // Input methods can Purge More, Resume, or request input
* Input methods can Purge More, Resume, or request input
*/
enum PauseMenuResponse : char { enum PauseMenuResponse : char {
PAUSE_RESPONSE_WAIT_FOR, PAUSE_RESPONSE_WAIT_FOR,
PAUSE_RESPONSE_EXTRUDE_MORE, PAUSE_RESPONSE_EXTRUDE_MORE,
@@ -109,7 +107,7 @@ void wait_for_confirmation(
void resume_print( void resume_print(
const_float_t slow_load_length=0, // (mm) Slow Load Length for finishing move const_float_t slow_load_length=0, // (mm) Slow Load Length for finishing move
const_float_t fast_load_length=0, // (mm) Fast Load Length for initial move const_float_t fast_load_length=0, // (mm) Fast Load Length for initial move
const_float_t extrude_length=ADVANCED_PAUSE_PURGE_LENGTH, // (mm) Purge length const_float_t purge_length=ADVANCED_PAUSE_PURGE_LENGTH, // (mm) Purge length
const int8_t max_beep_count=0, // Beep alert for attention const int8_t max_beep_count=0, // Beep alert for attention
const celsius_t targetTemp=0 // (°C) A target temperature for the hotend const celsius_t targetTemp=0 // (°C) A target temperature for the hotend
DXC_PARAMS // Dual-X-Carriage extruder index DXC_PARAMS // Dual-X-Carriage extruder index
@@ -118,7 +116,7 @@ void resume_print(
bool load_filament( bool load_filament(
const_float_t slow_load_length=0, // (mm) Slow Load Length for finishing move const_float_t slow_load_length=0, // (mm) Slow Load Length for finishing move
const_float_t fast_load_length=0, // (mm) Fast Load Length for initial move const_float_t fast_load_length=0, // (mm) Fast Load Length for initial move
const_float_t extrude_length=0, // (mm) Purge length const_float_t purge_length=0, // (mm) Purge length
const int8_t max_beep_count=0, // Beep alert for attention const int8_t max_beep_count=0, // Beep alert for attention
const bool show_lcd=false, // Set LCD status messages? const bool show_lcd=false, // Set LCD status messages?
const bool pause_for_user=false, // Pause for user before returning? const bool pause_for_user=false, // Pause for user before returning?

View File

@@ -1668,7 +1668,7 @@ void MarlinUI::host_notify(const char * const cstr) {
card.abortFilePrintSoon(); card.abortFilePrintSoon();
else if (card.isMounted()) else if (card.isMounted())
card.closefile(); card.closefile();
#endif #endif
#ifdef ACTION_ON_CANCEL #ifdef ACTION_ON_CANCEL
hostui.cancel(); hostui.cancel();
#endif #endif