Prusa MINI Firmware overview
|
#include <inttypes.h>
#include "gui.h"
#include "wizard_types.h"
#include "hwio_a3ides.h"
Go to the source code of this file.
◆ wizard_init_screen_selftest_cool()
◆ wizard_selftest_cool()
101 float nozzle_progress, bed_progress, nozzle_procentage, bed_procentage, lower_procentage;
109 lower_procentage = nozzle_procentage < bed_procentage ? nozzle_procentage : bed_procentage;
113 float progress = lower_procentage >= time_progress ? lower_procentage : time_progress;
115 if (diff_n < 0.1
F && diff_b < 0.1
F) {
120 if (progress == 100) {
float start_nozzle_temp
Definition: selftest_cool.h:36
color_t color_progress
Definition: window_progress.h:19
#define MARLIN_EVT_LoadSettings
Definition: marlin_events.h:22
#define WINDOW_CLS_NUMB
Definition: window.h:11
float temp_noz
Definition: selftest_cool.h:33
void window_destroy_children(int16_t id)
Definition: window.c:157
void window_set_format(int16_t id, const char *format)
Definition: window.c:403
float start_bed_temp
Definition: selftest_cool.h:37
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
void wizard_init_screen_selftest_cool(int16_t id_body, selftest_cool_screen_t *p_screen, selftest_cool_data_t *p_data)
Definition: selftest_cool.c:17
float temp_bed
Definition: selftest_cool.h:34
window_progress_t progress
Definition: selftest_cool.h:19
window_numb_t target_bed
Definition: selftest_cool.h:22
void marlin_stop_processing(void)
Definition: marlin_client.c:166
void window_set_icon_id(int16_t id, uint16_t id_res)
Definition: window.c:659
#define COLOR_LIME
Definition: guitypes.h:44
_TEST_STATE_t state_cool
Definition: selftest_cool.h:32
#define _CALIB_TEMP_BED
Definition: wizard_config.h:43
#define F(str)
Definition: UHS_macros.h:164
void window_show(int16_t id)
Definition: window.c:529
int16_t id
Definition: window.h:79
#define _COOLDOWN_TIMEOUT
Definition: wizard_config.h:45
window_text_t text_waiting_cd
Definition: selftest_cool.h:20
#define WIZARD_X_SPACE
Definition: wizard_ui.h:10
void _wizard_cool_actualize_temperatures(selftest_cool_data_t *p_data)
Definition: selftest_cool.c:62
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define COLOR_ORANGE
Definition: guitypes.h:57
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
#define _CALIB_TEMP_NOZ
Definition: wizard_config.h:44
void window_set_value(int16_t id, float value)
Definition: window.c:363
Definition: wizard_ui.h:21
window_numb_t curr_bed_temp
Definition: selftest_cool.h:25
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
void hwio_fan_set_pwm(int i_fan, int val)
Definition: hwio_a3ides_2209_02.c:447
window_numb_t curr_nozzle_temp
Definition: selftest_cool.h:24
#define WINDOW_CLS_ICON
Definition: window.h:12
#define WINDOW_CLS_TEXT
Definition: window.h:10
#define MARLIN_EVT_FactoryReset
Definition: marlin_events.h:21
Definition: wizard_types.h:85
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
window_icon_t icon_hourglass
Definition: selftest_cool.h:23
void marlin_start_processing(void)
Definition: marlin_client.c:174
window_numb_t target_nozzle
Definition: selftest_cool.h:21
int wizard_timer(uint32_t *p_timer, uint32_t delay_ms, _TEST_STATE_t *pstate, _WIZ_TIMER_t type)
Definition: wizard_ui.c:58
uint32_t timer
Definition: selftest_cool.h:35
window_t win
Definition: window_progress.h:16
window_t win
Definition: window_numb.h:18
#define IDR_PNG_wizard_icon_hourglass
Definition: resource.h:56
Definition: wizard_types.h:87
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252