Prusa MINI Firmware overview
|
#include "gui.h"
#include "screen_menu.h"
#include "marlin_client.h"
#include "filament.h"
#include "menu_vars.h"
◆ anonymous enum
Enumerator |
---|
MI_RETURN | |
MI_SPEED | |
MI_NOZZLE | |
MI_HEATBED | |
MI_PRINTFAN | |
MI_FLOWFACT | |
MI_BABYSTEP | |
MI_FILAMENT | |
MI_INFO | |
MI_MESSAGES | |
◆ screen_menu_tune_timer()
void screen_menu_tune_timer |
( |
screen_t * |
screen, |
|
|
uint32_t |
mseconds |
|
) |
| |
161 static uint32_t last_timer_repaint = 0;
164 if ((mseconds - last_timer_repaint) >= 500) {
166 bool editing =
psmd->menu.mode > 0;
167 int index =
psmd->menu.index;
168 if (!editing || index !=
MI_SPEED) {
188 last_timer_repaint = mseconds;
◆ screen_menu_tune_chanege_filament()
◆ screen_menu_tune_init()
◆ screen_menu_tune_event()
83 static float z_offs = 0;
118 switch ((
int)param) {
140 switch ((
int)param) {
◆ screen_menu_info
◆ screen_messages
◆ _menu_tune_items
◆ screen_menu_tune
◆ pscreen_menu_tune
float marlin_set_target_nozzle(float val)
Definition: marlin_client.c:401
float marlin_set_target_bed(float val)
Definition: marlin_client.c:405
#define MARLIN_VAR_FLOWFACT
Definition: marlin_vars.h:26
float z_offset
Definition: marlin_vars.h:87
#define MARLIN_VAR_FANSPEED
Definition: marlin_vars.h:24
void marlin_gcode_push_front(const char *gcode)
Definition: marlin_client.c:222
void marlin_do_babysteps_Z(float offs)
Definition: marlin_client.c:433
void screen_open(int16_t screen_id)
Definition: screen.c:62
#define WINDOW_EVENT_CHANGE
Definition: window.h:47
#define MARLIN_CMD_G29
Definition: marlin_events.h:54
uint16_t marlin_set_flow_factor(uint16_t val)
Definition: marlin_client.c:421
marlin_vars_t * marlin_vars(void)
Definition: marlin_client.c:361
void screen_messages_done(screen_t *screen)
Definition: screen_messages.c:106
#define MARLIN_VAR_MSK_TEMP_TARG
Definition: marlin_vars.h:46
int marlin_all_axes_known(void)
Definition: marlin_server.cpp:377
float target_nozzle
Definition: marlin_vars.h:85
#define MARLIN_CMD_M190
Definition: marlin_events.h:56
struct _screen_messages_data_t screen_messages_data_t
void screen_messages_init(screen_t *screen)
Definition: screen_messages.c:55
#define WINDOW_EVENT_CHANGING
Definition: window.h:48
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
const uint8_t[]
Definition: 404_html.c:3
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
int marlin_all_axes_homed(void)
Definition: marlin_server.cpp:373
#define MARLIN_VAR_PRNSPEED
Definition: marlin_vars.h:25
uint32_t marlin_command(void)
Definition: marlin_client.c:159
uint16_t print_speed
Definition: marlin_vars.h:89
#define WINDOW_EVENT_CLICK
Definition: window.h:46
#define MARLIN_CMD_M109
Definition: marlin_events.h:55
uint16_t flow_factor
Definition: marlin_vars.h:90
int screen_messages_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_messages.c:81
Definition: marlin_vars.h:77
float marlin_set_z_offset(float val)
Definition: marlin_client.c:409
void marlin_settings_save(void)
Definition: marlin_client.c:443
uint8_t marlin_set_fan_speed(uint8_t val)
Definition: marlin_client.c:413
void screen_messages_draw(screen_t *screen)
Definition: screen_messages.c:78
uint16_t marlin_set_print_speed(uint16_t val)
Definition: marlin_client.c:417
#define MARLIN_CMD_G28
Definition: marlin_events.h:53
float target_bed
Definition: marlin_vars.h:86
#define WINDOW_FLG_INVALID
Definition: window.h:26
#define MARLIN_VAR_Z_OFFSET
Definition: marlin_vars.h:23
uint8_t fan_speed
Definition: marlin_vars.h:88