Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
d0edfc65
Commit
d0edfc65
authored
9 years ago
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Ultralcd.cpp
parent
a623de84
master
dev
k40_flow_cooler
k40_noflow_nocooler
nextime
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
19 deletions
+17
-19
language_da.h
MarlinKimbra/language_da.h
+0
-2
ultralcd.cpp
MarlinKimbra/ultralcd.cpp
+17
-17
No files found.
MarlinKimbra/language_da.h
View file @
d0edfc65
...
...
@@ -55,8 +55,6 @@
#define MSG_MOVE_Y "Flyt Y"
#define MSG_MOVE_Z "Flyt Z"
#define MSG_MOVE_E "Extruder"
#define MSG_MOVE_E1 "Extruder2"
#define MSG_MOVE_E2 "Extruder3"
#define MSG_MOVE_01MM "Flyt 0.1mm"
#define MSG_MOVE_1MM "Flyt 1mm"
#define MSG_MOVE_10MM "Flyt 10mm"
...
...
This diff is collapsed.
Click to expand it.
MarlinKimbra/ultralcd.cpp
View file @
d0edfc65
...
...
@@ -1018,12 +1018,12 @@ static void lcd_move_e(
pos_label
=
PSTR
(
MSG_MOVE_E
);
#else
switch
(
e
)
{
case
0
:
pos_label
=
PSTR
(
MSG_MOVE_E
MSG_MOVE_E1
);
break
;
case
1
:
pos_label
=
PSTR
(
MSG_MOVE_E
MSG_MOVE_E2
);
break
;
case
0
:
pos_label
=
PSTR
(
MSG_MOVE_E
"0"
);
break
;
case
1
:
pos_label
=
PSTR
(
MSG_MOVE_E
"1"
);
break
;
#if EXTRUDERS > 2
case
2
:
pos_label
=
PSTR
(
MSG_MOVE_E
MSG_MOVE_E3
);
break
;
case
2
:
pos_label
=
PSTR
(
MSG_MOVE_E
"2"
);
break
;
#if EXTRUDERS > 3
case
3
:
pos_label
=
PSTR
(
MSG_MOVE_E
MSG_MOVE_E4
);
break
;
case
3
:
pos_label
=
PSTR
(
MSG_MOVE_E
"3"
);
break
;
#endif //EXTRUDERS > 3
#endif //EXTRUDERS > 2
}
...
...
@@ -1063,12 +1063,12 @@ static void lcd_move_menu_axis() {
#if EXTRUDERS == 1
MENU_ITEM
(
submenu
,
MSG_MOVE_E
,
lcd_move_e
);
#else
MENU_ITEM
(
submenu
,
MSG_MOVE_E
MSG_MOVE_E1
,
lcd_move_e0
);
MENU_ITEM
(
submenu
,
MSG_MOVE_E
MSG_MOVE_E2
,
lcd_move_e1
);
MENU_ITEM
(
submenu
,
MSG_MOVE_E
"0"
,
lcd_move_e0
);
MENU_ITEM
(
submenu
,
MSG_MOVE_E
"1"
,
lcd_move_e1
);
#if EXTRUDERS > 2
MENU_ITEM
(
submenu
,
MSG_MOVE_E
MSG_MOVE_E3
,
lcd_move_e2
);
MENU_ITEM
(
submenu
,
MSG_MOVE_E
"2"
,
lcd_move_e2
);
#if EXTRUDERS > 3
MENU_ITEM
(
submenu
,
MSG_MOVE_E
MSG_MOVE_E4
,
lcd_move_e3
);
MENU_ITEM
(
submenu
,
MSG_MOVE_E
"3"
,
lcd_move_e3
);
#endif
#endif
#endif // EXTRUDERS > 1
...
...
@@ -1207,18 +1207,18 @@ static void lcd_control_temperature_menu() {
#endif
#else // HOTENDS > 1
#if TEMP_SENSOR_0 != 0
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"
0"
,
&
target_temperature
[
0
],
0
,
HEATER_0_MAXTEMP
-
15
,
watch_temp_callback_E0
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"0"
,
&
target_temperature
[
0
],
0
,
HEATER_0_MAXTEMP
-
15
,
watch_temp_callback_E0
);
#endif
#if TEMP_SENSOR_1 != 0
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"
1"
,
&
target_temperature
[
1
],
0
,
HEATER_1_MAXTEMP
-
15
,
watch_temp_callback_E1
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"1"
,
&
target_temperature
[
1
],
0
,
HEATER_1_MAXTEMP
-
15
,
watch_temp_callback_E1
);
#endif
#if HOTENDS > 2
#if TEMP_SENSOR_2 != 0
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"
2"
,
&
target_temperature
[
2
],
0
,
HEATER_2_MAXTEMP
-
15
,
watch_temp_callback_E2
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"2"
,
&
target_temperature
[
2
],
0
,
HEATER_2_MAXTEMP
-
15
,
watch_temp_callback_E2
);
#endif
#if HOTENDS > 3
#if TEMP_SENSOR_3 != 0
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"
3"
,
&
target_temperature
[
3
],
0
,
HEATER_3_MAXTEMP
-
15
,
watch_temp_callback_E3
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
int3
,
MSG_NOZZLE
"3"
,
&
target_temperature
[
3
],
0
,
HEATER_3_MAXTEMP
-
15
,
watch_temp_callback_E3
);
#endif
#endif // HOTENDS > 3
#endif // HOTENDS > 2
...
...
@@ -1453,7 +1453,7 @@ static void lcd_control_volumetric_menu() {
#if EXTRUDERS == 1
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
float43
,
MSG_FILAMENT_SIZE_EXTRUDER
,
&
filament_size
[
0
],
DEFAULT_NOMINAL_FILAMENT_DIA
-
.5
,
DEFAULT_NOMINAL_FILAMENT_DIA
+
.5
,
calculate_volumetric_multipliers
);
#else // EXTRUDERS > 1
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
float43
,
MSG_FILAMENT_SIZE_EXTRUDER
" 0
"
,
&
filament_size
[
0
],
DEFAULT_NOMINAL_FILAMENT_DIA
-
.5
,
DEFAULT_NOMINAL_FILAMENT_DIA
+
.5
,
calculate_volumetric_multipliers
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
float43
,
MSG_FILAMENT_SIZE_EXTRUDER
" 0"
,
&
filament_size
[
0
],
DEFAULT_NOMINAL_FILAMENT_DIA
-
.5
,
DEFAULT_NOMINAL_FILAMENT_DIA
+
.5
,
calculate_volumetric_multipliers
);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
float43
,
MSG_FILAMENT_SIZE_EXTRUDER
" 1"
,
&
filament_size
[
1
],
DEFAULT_NOMINAL_FILAMENT_DIA
-
.5
,
DEFAULT_NOMINAL_FILAMENT_DIA
+
.5
,
calculate_volumetric_multipliers
);
#if EXTRUDERS > 2
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
(
float43
,
MSG_FILAMENT_SIZE_EXTRUDER
" 2"
,
&
filament_size
[
2
],
DEFAULT_NOMINAL_FILAMENT_DIA
-
.5
,
DEFAULT_NOMINAL_FILAMENT_DIA
+
.5
,
calculate_volumetric_multipliers
);
...
...
@@ -1843,10 +1843,6 @@ void lcd_update() {
static
millis_t
return_to_status_ms
=
0
;
#endif
#if ENABLED(LCD_HAS_SLOW_BUTTONS)
slow_buttons
=
lcd_implementation_read_slow_buttons
();
// buttons which take too long to read in interrupt context
#endif
lcd_buttons_update
();
#if ENABLED(SDSUPPORT) && PIN_EXISTS(SD_DETECT)
...
...
@@ -1877,6 +1873,10 @@ void lcd_update() {
millis_t
ms
=
millis
();
if
(
ms
>
next_lcd_update_ms
)
{
#if ENABLED(LCD_HAS_SLOW_BUTTONS)
slow_buttons
=
lcd_implementation_read_slow_buttons
();
// buttons which take too long to read in interrupt context
#endif
#if ENABLED(ULTIPANEL)
#if ENABLED(REPRAPWORLD_KEYPAD)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment