Prusa MINI Firmware overview
wizard_load_unload.h
Go to the documentation of this file.
1 // wizard_load_unload.h
2 #ifndef _WIZARD_LOAD_UNLOAD_H
3 #define _WIZARD_LOAD_UNLOAD_H
4 
5 #include <inttypes.h>
6 #include "gui.h"
7 #include "wizard_types.h"
8 
9 typedef enum {
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif //__cplusplus
21 
23 
24 #ifdef __cplusplus
25 }
26 #endif //__cplusplus
27 
28 #endif //_WIZARD_LOAD_UNLOAD_H
wizard_load_unload
LD_UNLD_STATE_t wizard_load_unload(LD_UNLD_STATE_t state)
Definition: wizard_load_unload.c:74
LD_UNLD_MSG_DECIDE_CONTINUE_LOAD_UNLOAD
Definition: wizard_load_unload.h:11
filament_sensor.h
_decide_continue_load_unload
LD_UNLD_STATE_t _decide_continue_load_unload()
Definition: wizard_load_unload.c:16
LD_UNLD_DIALOG_PREHEAT
Definition: wizard_load_unload.h:12
FILAMENT_NONE
Definition: filament.h:26
MSGBOX_RES_CUSTOM1
#define MSGBOX_RES_CUSTOM1
Definition: window_msgbox.h:50
wizard_ui.h
MSGBOX_DEF_BUTTON2
#define MSGBOX_DEF_BUTTON2
Definition: window_msgbox.h:56
window_dlg_preheat.h
wizard_load_unload.h
wizard_load_unload
LD_UNLD_STATE_t wizard_load_unload(LD_UNLD_STATE_t state)
Definition: wizard_load_unload.c:74
state
static volatile fsensor_t state
Definition: filament_sensor.c:23
wizard_msgbox_btns
int wizard_msgbox_btns(const char *text, uint16_t flags, uint16_t id_icon, const char **buttons)
Definition: wizard_ui.c:52
window_dlg_load.h
window_dlg_unload.h
MSGBOX_DEF_BUTTON1
#define MSGBOX_DEF_BUTTON1
Definition: window_msgbox.h:55
MSGBOX_RES_CUSTOM2
#define MSGBOX_RES_CUSTOM2
Definition: window_msgbox.h:51
LD_UNLD_STATE_t
LD_UNLD_STATE_t
Definition: wizard_load_unload.h:9
DLG_ABORTED
Definition: dlg_result.h:11
get_filament
FILAMENT_t get_filament()
Definition: filament.cpp:41
F_NOTSENSED
#define F_NOTSENSED
Definition: wizard_load_unload.c:13
gui_dlg_preheat_forced
int gui_dlg_preheat_forced(const char *caption)
Definition: window_dlg_preheat.c:152
FS_NO_FILAMENT
Definition: filament_sensor.h:20
fs_get_state
fsensor_t fs_get_state()
Definition: filament_sensor.c:67
MSGBOX_RES_CUSTOM0
#define MSGBOX_RES_CUSTOM0
Definition: window_msgbox.h:49
gui_dlg_load_forced
dlg_result_t gui_dlg_load_forced(void)
Definition: window_dlg_load.c:124
gui_dlg_unload_forced
dlg_result_t gui_dlg_unload_forced(void)
Definition: window_dlg_unload.c:31
LD_UNLD_DONE
Definition: wizard_load_unload.h:15
filament.h
uint8_t
const uint8_t[]
Definition: 404_html.c:3
DLG_OK
Definition: dlg_result.h:10
MSGBOX_BTN_CUSTOM3
#define MSGBOX_BTN_CUSTOM3
Definition: window_msgbox.h:28
FKNOWN
#define FKNOWN
Definition: wizard_load_unload.c:12
wizard_types.h
LD_UNLD_INIT
Definition: wizard_load_unload.h:10
gui.h
MSGBOX_BTN_CUSTOM2
#define MSGBOX_BTN_CUSTOM2
Definition: window_msgbox.h:27
LD_UNLD_DIALOG_LOAD
Definition: wizard_load_unload.h:13
LD_UNLD_DIALOG_UNLOAD
Definition: wizard_load_unload.h:14