Prusa MINI Firmware overview
|
|
void | _wizard_temp_actualize_temperatures (selftest_temp_data_t *p_data) |
|
void | wizard_init_screen_selftest_temp (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
int | _wizard_selftest_preheat (_TEST_STATE_t *state, uint32_t *p_timer, uint32_t temp_rq, int temp_ms, uint8_t marlin_var_id, uint32_t max_preheat_time_ms) |
|
int | wizard_selftest_preheat_nozzle (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
int | wizard_selftest_preheat_bed (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
int | wizard_selftest_temp_nozzle (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
int | wizard_selftest_temp_bed (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
int | wizard_selftest_temp (int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data) |
|
◆ _wizard_temp_actualize_temperatures()
◆ wizard_init_screen_selftest_temp()
36 "Checking hotend and\n"
◆ _wizard_selftest_preheat()
int _wizard_selftest_preheat |
( |
_TEST_STATE_t * |
state, |
|
|
uint32_t * |
p_timer, |
|
|
uint32_t |
temp_rq, |
|
|
int |
temp_ms, |
|
|
uint8_t |
marlin_var_id, |
|
|
uint32_t |
max_preheat_time_ms |
|
) |
| |
57 if (temp_ms >= temp_rq) {
◆ wizard_selftest_preheat_nozzle()
◆ wizard_selftest_preheat_bed()
◆ wizard_selftest_temp_nozzle()
101 if (progress >= 99) {
◆ wizard_selftest_temp_bed()
118 if (progress >= 99) {
◆ wizard_selftest_temp()
132 int progress_preheat_noz = 0;
133 int progress_preheat_bed = 0;
134 int progress_noz = 0;
135 int progress_bed = 0;
152 progress_preheat_noz = 100;
158 progress_preheat_bed = 100;
180 if (progress == 100) {
void window_set_alignment(int16_t id, uint8_t alignment)
Definition: window.c:561
float temp_noz
Definition: selftest_temp.h:33
#define _HEAT_TIME_MS_BED
Definition: wizard_config.h:55
window_text_t text_checking_temp
Definition: selftest_temp.h:18
int wizard_selftest_temp_bed(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:114
int _wizard_selftest_preheat(_TEST_STATE_t *state, uint32_t *p_timer, uint32_t temp_rq, int temp_ms, uint8_t marlin_var_id, uint32_t max_preheat_time_ms)
Definition: selftest_temp.c:55
#define MARLIN_VAR_TEMP_BED
Definition: marlin_vars.h:20
void wizard_init_screen_selftest_temp(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:22
#define _PASS_MIN_TEMP_BED
Definition: wizard_config.h:52
int wizard_selftest_preheat_bed(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:82
Definition: wizard_types.h:88
void window_destroy_children(int16_t id)
Definition: window.c:157
#define _PASS_MAX_TEMP_BED
Definition: wizard_config.h:50
#define ALIGN_CENTER
Definition: guitypes.h:19
void window_invalidate(int16_t id)
Definition: window.c:304
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
#define WIZARD_MARGIN_LEFT
Definition: wizard_ui.h:8
_TEST_STATE_t state_preheat_nozzle
Definition: selftest_temp.h:29
static volatile fsensor_t state
Definition: filament_sensor.c:23
static int _is_test_done(int result)
Definition: wizard_types.h:91
#define _CALIB_TEMP_BED
Definition: wizard_config.h:43
void window_show(int16_t id)
Definition: window.c:529
_TEST_STATE_t state_preheat_bed
Definition: selftest_temp.h:30
int16_t id
Definition: window.h:79
uint32_t timer_bed
Definition: selftest_temp.h:22
float temp_nozzle
Definition: marlin_vars.h:83
#define WIZARD_X_SPACE
Definition: wizard_ui.h:10
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define MARLIN_VAR_TEMP_NOZ
Definition: marlin_vars.h:19
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
int wizard_selftest_preheat_nozzle(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:67
#define _CALIB_TEMP_NOZ
Definition: wizard_config.h:44
#define _MAX_TEMP_NOZ
Definition: wizard_config.h:49
void _wizard_temp_actualize_temperatures(selftest_temp_data_t *p_data)
Definition: selftest_temp.c:44
void window_set_value(int16_t id, float value)
Definition: window.c:363
Definition: wizard_ui.h:21
window_progress_t progress
Definition: selftest_temp.h:19
#define _HEAT_TIME_MS_NOZ
Definition: wizard_config.h:56
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
float temp_bed
Definition: marlin_vars.h:84
#define _MAX_PREHEAT_TIME_MS_BED
Definition: wizard_config.h:57
#define _PASS_MAX_TEMP_NOZ
Definition: wizard_config.h:51
#define _MAX_TEMP_BED
Definition: wizard_config.h:48
#define _PASS_MIN_TEMP_NOZ
Definition: wizard_config.h:53
float temp_bed
Definition: selftest_temp.h:34
#define WINDOW_CLS_TEXT
Definition: window.h:10
Definition: wizard_types.h:85
#define MARLIN_VAR_MSK_TEMP_CURR
Definition: marlin_vars.h:43
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
Definition: marlin_vars.h:77
int wizard_timer(uint32_t *p_timer, uint32_t delay_ms, _TEST_STATE_t *pstate, _WIZ_TIMER_t type)
Definition: wizard_ui.c:58
_TEST_STATE_t state_temp_bed
Definition: selftest_temp.h:32
int wizard_selftest_temp_nozzle(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:97
window_t win
Definition: window_progress.h:16
int marlin_gcode_printf(const char *format,...)
Definition: marlin_client.c:206
Definition: wizard_ui.h:19
Definition: wizard_types.h:87
_TEST_STATE_t state_temp_nozzle
Definition: selftest_temp.h:31
#define _MAX_PREHEAT_TIME_MS_NOZ
Definition: wizard_config.h:58
uint32_t timer_noz
Definition: selftest_temp.h:21