Prusa MINI Firmware overview
|
◆ isMoving()
◆ getProgress_percent()
uint8_t ExtUI::getProgress_percent |
( |
| ) |
|
16 return ui.get_progress();
◆ onStartup()
void ExtUI::onStartup |
( |
| ) |
|
◆ onIdle()
◆ _is_thermal_error()
824 if (!strcmp(msg,
GET_TEXT(MSG_HEATING_FAILED_LCD)))
826 if (!strcmp(msg,
GET_TEXT(MSG_HEATING_FAILED_LCD_BED)))
828 if (!strcmp(msg,
GET_TEXT(MSG_HEATING_FAILED_LCD_CHAMBER)))
830 if (!strcmp(msg,
GET_TEXT(MSG_ERR_REDUNDANT_TEMP)))
832 if (!strcmp(msg,
GET_TEXT(MSG_THERMAL_RUNAWAY)))
834 if (!strcmp(msg,
GET_TEXT(MSG_THERMAL_RUNAWAY_BED)))
836 if (!strcmp(msg,
GET_TEXT(MSG_THERMAL_RUNAWAY_CHAMBER)))
838 if (!strcmp(msg,
GET_TEXT(MSG_ERR_MAXTEMP)))
840 if (!strcmp(msg,
GET_TEXT(MSG_ERR_MINTEMP)))
842 if (!strcmp(msg,
GET_TEXT(MSG_ERR_MAXTEMP_BED)))
844 if (!strcmp(msg,
GET_TEXT(MSG_ERR_MINTEMP_BED)))
◆ onPrinterKilled()
◆ onMediaInserted()
void ExtUI::onMediaInserted |
( |
| ) |
|
860 DBG_XUI(
"XUI: onMediaInserted");
◆ onMediaError()
void ExtUI::onMediaError |
( |
| ) |
|
◆ onMediaRemoved()
void ExtUI::onMediaRemoved |
( |
| ) |
|
870 DBG_XUI(
"XUI: onMediaRemoved");
◆ onPlayTone()
void ExtUI::onPlayTone |
( |
const uint16_t |
frequency, |
|
|
const uint16_t |
duration |
|
) |
| |
◆ onPrintTimerStarted()
void ExtUI::onPrintTimerStarted |
( |
| ) |
|
880 DBG_XUI(
"XUI: onPrintTimerStarted");
◆ onPrintTimerPaused()
void ExtUI::onPrintTimerPaused |
( |
| ) |
|
885 DBG_XUI(
"XUI: onPrintTimerPaused");
◆ onPrintTimerStopped()
void ExtUI::onPrintTimerStopped |
( |
| ) |
|
890 DBG_XUI(
"XUI: onPrintTimerStopped");
◆ onFilamentRunout()
void ExtUI::onFilamentRunout |
( |
const extruder_t |
extruder | ) |
|
895 DBG_XUI(
"XUI: onFilamentRunout");
◆ onUserConfirmRequired()
900 DBG_XUI(
"XUI: onUserConfirmRequired: %s", msg);
◆ onStatusChanged()
905 DBG_XUI(
"XUI: onStatusChanged: %s", msg);
907 if (strcmp(msg,
"Prusa-mini Ready.") == 0) {
909 else if (strcmp(msg,
"TMC CONNECTION ERROR") == 0)
914 if (msg && msg[0] != 0) {
◆ onFactoryReset()
void ExtUI::onFactoryReset |
( |
| ) |
|
923 DBG_XUI(
"XUI: onFactoryReset");
◆ onLoadSettings()
928 DBG_XUI(
"XUI: onLoadSettings");
◆ onStoreSettings()
void ExtUI::onStoreSettings |
( |
char * |
| ) |
|
933 DBG_XUI(
"XUI: onStoreSettings");
◆ onConfigurationStoreWritten()
void ExtUI::onConfigurationStoreWritten |
( |
bool |
success | ) |
|
938 DBG_XUI(
"XUI: onConfigurationStoreWritten");
◆ onConfigurationStoreRead()
void ExtUI::onConfigurationStoreRead |
( |
bool |
success | ) |
|
942 DBG_XUI(
"XUI: onConfigurationStoreRead");
◆ onMeshUpdate()
946 DBG_XUI(
"XUI: onMeshUpdate x: %u, y: %u, z: %.2f", xpos, ypos, (
double)zval);
949 uint16_t usr16 = xpos | ((uint16_t)ypos << 8);
#define GET_TEXT(MSG)
Definition: multi_language.h:72
marlin_mesh_t mesh
Definition: marlin_server.cpp:71
#define MARLIN_EVT_Startup
Definition: marlin_events.h:8
void _add_status_msg(const char *const popup_msg)
Definition: marlin_server.cpp:101
#define MARLIN_EVT_MediaError
Definition: marlin_events.h:12
#define MARLIN_EVT_LoadSettings
Definition: marlin_events.h:22
void general_error(const char *error, const char *module)
Marlin stopped.
Definition: bsod.c:174
uint8_t xc
Definition: marlin_events.h:104
int marlin_server_idle(void)
Definition: marlin_server.cpp:254
#define MARLIN_EVT_MediaInserted
Definition: marlin_events.h:11
#define MARLIN_EVT_PrintTimerStopped
Definition: marlin_events.h:17
marlin_server_t marlin_server
Definition: marlin_server.cpp:92
#define MARLIN_ERR_ProbingFailed
Definition: marlin_errors.h:9
float temp_nozzle
Definition: marlin_vars.h:83
void _send_notify_event(uint8_t evt_id, uint32_t usr32, uint16_t usr16)
Definition: marlin_server.cpp:481
#define MARLIN_EVT_StoreSettings
Definition: marlin_events.h:23
#define DBG_XUI
Definition: marlin_server.cpp:37
#define MARLIN_EVT_PrintTimerPaused
Definition: marlin_events.h:16
#define MARLIN_EVT_Message
Definition: marlin_events.h:36
float target_nozzle
Definition: marlin_vars.h:85
marlin_vars_t vars
Definition: marlin_server.cpp:58
#define MARLIN_EVT_MeshUpdate
Definition: marlin_events.h:24
float temp_bed
Definition: marlin_vars.h:84
const uint8_t[]
Definition: 404_html.c:3
float z[MARLIN_MAX_MESH_POINTS]
Definition: marlin_events.h:103
#define MARLIN_EVT_FactoryReset
Definition: marlin_events.h:21
#define MARLIN_EVT_StatusChanged
Definition: marlin_events.h:20
Definition: marlin_vars.h:77
#define MSG_ERR_PROBING_FAILED
Definition: language.h:297
marlin_server_idle_t * marlin_server_idle_cb
Definition: marlin_server.cpp:94
#define MARLIN_EVT_PlayTone
Definition: marlin_events.h:14
#define MARLIN_EVT_Error
Definition: marlin_events.h:32
#define MARLIN_EVT_MediaRemoved
Definition: marlin_events.h:13
uint32_t ui32
Definition: variant8.h:32
variant8_t variant8_flt(float flt)
Definition: variant8.c:48
void temp_error(const char *error, const char *module, float t_noz, float tt_noz, float t_bed, float tt_bed)
Definition: bsod.c:207
float target_bed
Definition: marlin_vars.h:86
#define MARLIN_EVT_PrintTimerStarted
Definition: marlin_events.h:15
int _is_thermal_error(PGM_P const msg)
Definition: marlin_server.cpp:823
#define MARLIN_ERR_TMCDriverError
Definition: marlin_errors.h:8
#define MARLIN_EVT_FilamentRunout
Definition: marlin_events.h:18
static FORCE_INLINE bool has_blocks_queued()
Definition: planner.h:762
Planner planner
Definition: planner.cpp:111
#define MARLIN_EVT_UserConfirmRequired
Definition: marlin_events.h:19