Prusa MINI Firmware overview
window_dlg_load.h File Reference
#include "dlg_result.h"

Go to the source code of this file.

Functions

dlg_result_t gui_dlg_load (void)
 
dlg_result_t gui_dlg_load_forced (void)
 

Function Documentation

◆ gui_dlg_load()

dlg_result_t gui_dlg_load ( void  )
117  {
118  //todo must be called inside _gui_dlg, but nested dialogs are not supported now
119  if (gui_dlg_preheat(NULL) < 1)
120  return DLG_ABORTED; //0 is return
121  return _gui_dlg_load();
122 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gui_dlg_load_forced()

dlg_result_t gui_dlg_load_forced ( void  )
124  {
125  //todo must be called inside _gui_dlg, but nested dialogs are not supported now
126  if (gui_dlg_preheat_forced("PREHEAT for LOAD") < 0)
127  return DLG_ABORTED; //DLG_ABORTED should not happen
128  return _gui_dlg_load();
129 }
Here is the call graph for this function:
Here is the caller graph for this function:
_gui_dlg_load
static dlg_result_t _gui_dlg_load(void)
Definition: window_dlg_load.c:108
gui_dlg_preheat
int gui_dlg_preheat(const char *caption)
Definition: window_dlg_preheat.c:126
NULL
#define NULL
Definition: usbd_def.h:53
DLG_ABORTED
Definition: dlg_result.h:11
gui_dlg_preheat_forced
int gui_dlg_preheat_forced(const char *caption)
Definition: window_dlg_preheat.c:152