Prusa MINI Firmware overview
|
Go to the source code of this file.
◆ window_dlg_wait_t
◆ window_class_dlg_wait_t
◆ gui_dlg_wait()
int gui_dlg_wait |
( |
int8_t(*)() |
callback | ) |
|
146 gui_reset_jogwheel();
156 uint8_t tmp_timer, last_time = 0;
159 while ((*callback)()) {
161 if (tmp_timer != last_time && tmp_timer < 5) {
170 if (tmp_timer >= 5) {
174 tmp_timer = last_time = 0;
177 last_time = tmp_timer;
183 int8_t tmp_progress = (*callback)();
189 if (tmp_timer != last_time && tmp_timer < 5) {
198 if (tmp_timer >= 5) {
202 tmp_timer = last_time = 0;
205 last_time = tmp_timer;
◆ gui_marlin_busy_callback()
int8_t gui_marlin_busy_callback |
( |
void |
| ) |
|
◆ WINDOW_CLS_DLG_WAIT
int16_t WINDOW_CLS_DLG_WAIT |
◆ window_class_dlg_wait
#define DLG_W8_HOUR_ROT
Definition: window_dlg_wait.c:22
int16_t window_capture(void)
Definition: window.c:169
#define DLG_W8_FRAME_FLG
Definition: window_dlg_wait.c:20
uint16_t flags
Definition: window_dlg_wait.h:29
void window_invalidate(int16_t id)
Definition: window.c:304
void window_destroy(int16_t id)
Definition: window.c:132
rect_ui16_t msg_box_sz
Definition: guitypes.h:114
#define DLG_W8_FPS
Definition: window_dlg_wait.c:23
#define DLG_W8_HOUR_REDRW
Definition: window_dlg_wait.c:18
int16_t WINDOW_CLS_DLG_WAIT
Definition: window_dlg_wait.c:25
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
window_t * window_1
Definition: window.c:14
void gui_invalidate(void)
Definition: gui.c:66
int marlin_motion(void)
Definition: marlin_client.c:182
int marlin_busy(void)
Definition: marlin_client.c:152
#define DLG_W8_PROGRESS
Definition: window_dlg_wait.c:21
int8_t progress
Definition: window_dlg_wait.h:28
uint32_t timer
Definition: window_dlg_wait.h:27
const uint8_t[]
Definition: 404_html.c:3
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
#define DLG_W8_ANI_FLG
Definition: window_dlg_wait.c:19
gui_defaults_t gui_defaults
Definition: gui.c:20
Definition: window_dlg_wait.h:20