Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../inc/MarlinConfigPre.h"
26 void host_action(
const char *
const pstr,
const bool eol=
true);
28 #ifdef ACTION_ON_SAFETY_TIMER_EXPIRED
34 #ifdef ACTION_ON_PAUSE
37 #ifdef ACTION_ON_PAUSED
40 #ifdef ACTION_ON_RESUME
43 #ifdef ACTION_ON_RESUMED
46 #ifdef ACTION_ON_CANCEL
50 #if ENABLED(HOST_PROMPT_SUPPORT)
54 PROMPT_FILAMENT_RUNOUT,
56 PROMPT_FILAMENT_RUNOUT_REHEAT,
68 void host_prompt_do(
const PromptReason
type,
const char *
const pstr,
const char *
const pbtn=
nullptr);
69 inline void host_prompt_open(
const PromptReason reason,
const char *
const pstr,
const char *
const pbtn=
nullptr) {
#define SERIAL_CHAR(x)
Definition: serial.h:69
void host_action_prompt_end()
Definition: marlin_server.cpp:1047
void host_response_handler(const uint8_t response)
Definition: marlin_server.cpp:1029
void host_action_resumed()
Definition: marlin_server.cpp:1025
GCodeQueue queue
Definition: queue.cpp:28
void host_action(const char *const pstr, const bool eol=true)
Definition: marlin_server.cpp:959
void host_prompt_do(const PromptReason type, const char *const pstr, const char *const pbtn)
Definition: marlin_server.cpp:1103
uint8_t type
Definition: UsbCore.h:184
static bool filament_ran_out
Definition: runout.h:53
void host_action_safety_timer_expired()
Definition: marlin_server.cpp:1004
bool wait_for_user
Definition: Marlin.cpp:188
#define PSTR(str)
Definition: pgmspace.h:31
void host_action_cancel()
Definition: marlin_server.cpp:1017
static void reset()
Definition: runout.h:76
#define HAS_FILAMENT_SENSOR
Definition: Conditionals_LCD.h:535
#define SERIAL_ECHOPGM(S)
Definition: serial.h:173
#define SERIAL_ECHOLNPAIR(V...)
Definition: serial.h:144
const uint8_t[]
Definition: 404_html.c:3
void host_action_kill()
Definition: marlin_server.cpp:996
void host_action_prompt_button(const char *const pstr)
Definition: marlin_server.cpp:1039
#define SERIAL_EOL()
Definition: serial.h:181
void host_action_paused(const bool eol)
Definition: marlin_server.cpp:1021
static bool enabled
Definition: runout.h:53
void host_action_pause(const bool eol)
Definition: marlin_server.cpp:1009
static void inject_P(PGM_P const pgcode)
Definition: queue.cpp:206
void serialprintPGM(PGM_P str)
Definition: serial.cpp:35
void host_action_prompt_show()
Definition: marlin_server.cpp:1053
void host_action_resume()
Definition: marlin_server.cpp:1013
void host_action_prompt_begin(const char *const pstr, const bool eol)
Definition: marlin_server.cpp:1033
PromptReason host_prompt_reason
Definition: marlin_server.cpp:77