Scott Lahteine
f891416e70
No raise on G28 after power-loss
2018-08-07 13:51:36 -05:00
Marcio Teixeira
f2224755ad
Fix jumping progress bar. ( #11439 )
...
- When LCD_SET_PROGRESS_MANUALLY was disabled and an SD print was not active (i.e. the printer was idle), progress_bar_percent would read uninitialized memory from stack and cause progress bar to jump wildly.
- Also updated conditions in `#ifdef` to match `ultralcd.cpp`
2018-08-03 17:17:02 -05:00
Scott Lahteine
64c493ad82
MKS_12864_OLED code cleanup
2018-07-30 23:22:40 -05:00
Lee Olivares
094e6d81a5
Add Einstart-S support ( #11219 )
...
Indeed the HAL does not need to be mucked around with to expose ATmega2560 pins not available as numbers on the MEGA board, I'll need to update the wiki with that tidbit and a reference to the pin-mapping comment in `fastio_1280.h`.
2018-07-26 05:52:22 -05:00
MikeLud
aadcf08913
[2.0.x] add Calibrate Z (M915) to Prepare Menu ( #11331 )
2018-07-26 05:09:49 -05:00
J.C. Nelson
9c2bfa2ab3
Remove extra parameter to enqueue. ( #11364 )
2018-07-25 18:02:02 -05:00
Scott Lahteine
8c40f0c6c7
Reduce TQ message code size
2018-07-17 18:18:52 -05:00
xC0000005
b04e0c0cbb
Malyan LCD feedrate, better temp handling.
2018-07-17 18:18:52 -05:00
Scott Lahteine
065e9c3d66
Add card.longest_filename method
2018-07-17 18:18:52 -05:00
Jamie Bainbridge
8c57cadbe7
Include stdlib in fontutils ( #11251 )
...
When `REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER` is defined and Re-ARM build is attempted, `u8g_fontutf8.cpp` includes `fontutils.h` which uses `abs()`.
However, `abs()` is defined in `stdlib.h` which is not included in `fontutils.h`, so compile fails with an error.
Include `stdlib.h` in `fontutils.h` so that `abs()` is defined before `u8g_fontutf8.cpp` needs to use it, resolving the compile error.
Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
2018-07-13 00:02:38 -05:00
Scott Lahteine
20761b88e0
Merge pull request #11212 from AlexanderAmelkin/2.0-HD44780-remove-unused-include
...
[2.0.x][HD44780] Remove unused include
2018-07-08 17:19:59 -05:00
Roxy-3D
603e136e87
Resolve issue where user can't edit UBL's mesh
2018-07-08 14:41:38 -05:00
Alexander Amelkin
ed720194d2
[2.0.x][HD44780] Remove unused include
...
The <binary.h> header is not available in STM32 toolchain
and is not used anywhere in ultralcd_common_HD44780.h.
If it is used anywhere in HD44780 support for other platforms,
it must be included in the corresponding .cpp file directly
and put under appropriate conditional compilation directives
for the platform requiring it.
As I was unable to find such code, I consider the file unused
and hence remove the inclusion.
2018-07-06 23:45:47 -05:00
etagle
1367df2875
Replace double with float, optimize calculation
2018-07-04 22:28:56 -05:00
Scott Lahteine
1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY ( #11187 )
2018-07-02 23:21:28 -05:00
Roman Moravčík
8299ac121d
[2.0.x] Slovak translation update ( #11175 )
2018-07-01 23:15:51 -05:00
teemuatlut
3de0c85d41
Fix RRW graphical LCD constructor macro ( #11171 )
2018-07-01 23:14:23 -05:00
Scott Lahteine
fbf1c9b496
Fix and tweak POWER_LOSS_RECOVERY ( #11151 )
2018-06-29 22:41:02 -05:00
Scott Lahteine
3349eb0020
Fix SKEW_CORRECTION compile error
2018-06-29 19:38:18 -05:00
Andy Shaw
3b3029c4bf
Make max_e_jerk an array to reduce CPU usage ( #11118 )
2018-06-26 22:38:31 -04:00
Scott Lahteine
383129728a
Edit Z fade as whole numbers
2018-06-21 11:52:29 -04:00
Scott Lahteine
1239e8eda2
Fix value editing with callback
2018-06-21 11:52:03 -04:00
Giuliano
a65d15c905
[2.0.x] Fix Italian msg len ( #11058 )
...
Fix message to long for 12864 display
2018-06-18 22:04:55 -05:00
Scott Lahteine
9d04f47d98
Improvements for junction_deviation_mm
...
- Drop `max_jerk` with `JUNCTION_DEVIATION`
- Add `max_e_jerk_factor` for use by `LIN_ADVANCE`
- Recalculate `max_e_jerk_factor` when `junction_deviation_mm` changes
- Fix LCD editing of `junction_deviation_mm`
2018-06-11 22:05:16 -05:00
Scott Lahteine
f2c3b0d476
Use bit flags for homed/known
2018-06-11 22:05:16 -05:00
Scott Lahteine
ae07a3e4aa
Multiplier edit large ranges
2018-06-10 18:22:12 -05:00
Scott Lahteine
20a5db03bb
Junction Deviation limit (0.01 to 0.3)
2018-06-10 18:22:08 -05:00
Scott Lahteine
a2f521d34b
Add Junction Deviation mm runtime setting ( #10990 )
2018-06-10 18:02:54 -05:00
Scott Lahteine
779d4a17a0
Highlight 64128N and common ST7565 difference
...
Followup to #10920 , addressing #10962
2018-06-09 19:18:41 -05:00
Scott Lahteine
334341c632
Hephestos config updates ( #10960 )
2018-06-07 21:23:55 -05:00
Giuliano
eb1026d438
[2.0.x] Fix compile warning ( #10931 )
2018-06-05 22:44:34 -05:00
Scott Lahteine
2fd9ba56da
LED menu item bool (like Case Lights)
2018-06-03 00:34:29 -05:00
Scott Lahteine
61181b7f24
Add macros for ST7565 commands
2018-06-02 20:48:44 -05:00
Scott Lahteine
d259070980
Clean up trailing spaces from vim, etc.
2018-05-31 00:09:41 -05:00
Scott Lahteine
945139e328
Clean up some formatting
2018-05-27 17:58:40 -05:00
Scott Lahteine
cf7d5a642a
Fix manual moves for switching tools ( #10868 )
2018-05-26 18:30:53 -05:00
Eduardo José Tagle
1da2c4f1c1
Text LCD display routine fix. Coauthored with @MagoKimbra ( #10864 )
2018-05-26 18:13:33 -05:00
Eduardo José Tagle
6f330f397e
[2.0.x] Buffer overflow and scroll fix, UTF8 cleanup ( #10844 )
2018-05-25 23:32:37 -05:00
Scott Lahteine
d74e333c0f
Make sure FAN_ANIM_FRAMES is defined
2018-05-25 05:28:50 -05:00
Scott Lahteine
336a022529
Support Malyan LCD without SD
2018-05-24 05:01:18 -05:00
Scott Lahteine
5f8591528e
Remove #pragmas that don't help c files
2018-05-23 23:47:16 -05:00
Scott Lahteine
c89649b46e
Suppress U8glib build warnings
2018-05-23 02:47:36 -05:00
Scott Lahteine
ee333f6be2
Followup to endstops tweaks
2018-05-22 20:41:03 -05:00
Scott Lahteine
1af98519cd
Group and adjust LCD buttons code
2018-05-22 00:37:45 -05:00
Scott Lahteine
68d7fcec83
Simplify and fix Z fade height edit
...
Fix #10761
2018-05-20 12:29:23 -05:00
etagle
a11eb50a3e
Refactor and optimize Stepper/Planner
...
Better encapsulation and considerably reduce stepper jitter
2018-05-20 06:23:58 -05:00
Scott Lahteine
228139eae6
Tweak some LCD comments
2018-05-19 21:00:08 -05:00
GMagician
3c76bda2d8
Fix switching extruder
...
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
2018-05-19 17:05:15 -05:00
Scott Lahteine
c173a31060
Fix some compile warnings
2018-05-19 16:54:48 -05:00
Scott Lahteine
0ea60d506a
Clear up LCD-related compile issues
2018-05-15 00:06:59 -05:00
Scott Lahteine
3f6073e23a
Followup tweak to lcdprint_u8g.cpp
2018-05-14 14:42:11 -05:00
Scott Lahteine
fb608938f8
Prevent compilation of unused u8g-oriented code
2018-05-14 13:31:04 -05:00
Scott Lahteine
f07260c33f
Don't babystep on long click unless printing
...
As pointed out in #10731
2018-05-13 08:11:35 -05:00
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
...
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
Scott Lahteine
083ec9963e
Tweaks to heater / lcd conditions
2018-05-13 04:52:56 -05:00
etagle
9d98a62699
Followup to HAL optimizations and delays
...
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
2018-05-13 00:46:23 -05:00
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 08:34:04 -05:00
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 01:38:02 -05:00
Scott Lahteine
325bbbc8c2
[2.0.x] Enable AD595 and AD8495 in concert ( #10693 )
...
* Allow both AD595 and AD8495 in concert
* General temperature code tweaks
2018-05-11 01:01:51 -05:00
Scott Lahteine
265161ba30
Blink the value for unhomed/unknown axes ( #10670 )
2018-05-10 01:19:20 -05:00
Scott Lahteine
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
Scott Lahteine
ec05408453
Add 3-frame fan animation to bitmaps ( #10654 )
2018-05-08 09:06:01 -05:00
Scott Lahteine
a1fab8336e
Fix abort of SD printing
2018-05-07 02:52:26 -05:00
Scott Lahteine
81b632c255
Additional temp-oriented improvements
2018-05-02 08:43:22 -05:00
nightdemonx
e911635fb1
Add thermocouple with AD8495 support
2018-05-02 08:43:16 -05:00
Bob-the-Kuhn
410b023b50
[2.0.x] Add Viki support to RAMPS_FD_V1 (DUE) ( #10598 )
2018-05-02 07:54:06 -05:00
Scott Lahteine
b7e938a9fb
LCD_BED_LEVELING enables a sub-menu for ABL
2018-05-01 07:13:56 -05:00
Scott Lahteine
a90d99c27c
Rename float32 => float52, etc.
2018-05-01 07:08:47 -05:00
Scott Lahteine
05fca752d6
Clean up autostart handling
2018-05-01 01:35:57 -05:00
Scott Lahteine
05c33833e7
[2.0.x] Add NO_LCD_MENUS option ( #10582 )
2018-04-30 21:16:31 -05:00
Scott Lahteine
524cc392f4
Fix sd_status comparison
...
Co-Authored-By: perkmeister <perkmeister@users.noreply.github.com>
2018-04-30 21:09:50 -05:00
Scott Lahteine
9e0d99c0c6
Round all floats in string conversion functions ( #10566 )
2018-04-29 00:51:36 -05:00
Scott Lahteine
f423e54f77
Strip trailing spaces
2018-04-23 18:00:43 -05:00
Scott Lahteine
8177c4334e
Merge pull request #10498 from xC0000005/MalyanLCDFix
...
Fix overridden Malyan LCD functions
2018-04-23 17:22:43 -05:00
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
2018-04-23 17:13:01 -05:00
xC0000005
24d23ce49b
Fix function definitions for Malyan LCD
2018-04-23 16:56:37 -05:00
Scott Lahteine
9e07df5c1b
Extra options for LEVEL_BED_CORNERS ( #10483 )
2018-04-22 02:50:48 -05:00
Scott Lahteine
023385ca59
Merge pull request #10479 from thinkyhead/bf2_creality_power_loss_resume
...
[2.0.x] Creality3D Power-Loss Recovery
2018-04-22 00:17:44 -05:00
Scott Lahteine
3396671011
[2.0.x] Reset LCD status to fallbacks ( #10470 )
...
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
2018-04-22 00:16:30 -05:00
Scott Lahteine
d58450c82a
Russian language update
...
Co-Authored-By: anton-piliugin <34044202+anton-piliugin@users.noreply.github.com>
2018-04-22 00:14:20 -05:00
Scott Lahteine
11ab017dd0
Creality3D Power-Loss Recovery
2018-04-21 21:56:50 -05:00
Scott Lahteine
78ea4871f9
Fix up enqueue now functions
...
…and apply to MALYAN_LCD.
2018-04-19 19:45:53 -05:00
Scott Lahteine
8ca3c43d73
Updated language_data spacing, headers
2018-04-19 06:16:16 -05:00
Scott Lahteine
184c077c58
Correct includes (u8g.h) and spelling
2018-04-19 06:16:16 -05:00
Yunhui Fu
627348b46c
move the TALL_FONT_CORRECTION to language files
2018-04-19 06:16:16 -05:00
Yunhui Fu
77bc653524
Use X windows 6x12 bitmap font to support western languages.
2018-04-19 06:16:15 -05:00
Yunhui Fu
d81649b365
Update language data for sk.
2018-04-19 06:15:19 -05:00
Yunhui Fu
41839746a2
Removed unused macros
2018-04-19 06:15:19 -05:00
Scott Lahteine
df2f24617b
Use 0 as the bed position (not Z_MIN_POS)
2018-04-17 20:32:56 -05:00
Chris Pepper
744bcaee61
[2.0.x] Fix problems compiling with Arduino IDE ( #10441 )
...
* Fix problems compiling u8glib utf8 support on Arduino
* Change header in auto-generated font data
* Change include in font gen scripts
2018-04-17 17:28:55 -05:00
Scott Lahteine
e4acd2c40e
One fewer compare in _lcd_move_xyz
2018-04-17 16:03:15 -05:00
Scott Lahteine
6cb83758d7
Fix Brazilian Portuguese language duplicates
2018-04-15 19:18:08 -05:00
Scott Lahteine
6c7a17dba6
Abort SD printing more safely ( #10407 )
...
Allow the current command to complete when aborting an SD print, otherwise some commands (G28, G29, etc.) will cause trouble.
2018-04-15 18:27:54 -05:00
Scott Lahteine
9f8a96fb8a
Brazilian Portuguese update ( #10409 )
2018-04-15 13:13:46 -05:00
Yunhui Fu
93273a4c9e
Fix u8g.h search path error ( #10419 )
...
Support env MARLIN_LANGS for user select generated language, and update doc; update script to generate dogm_font_data_ISO10646_1.h automatically.
2018-04-15 13:12:02 -05:00
Scott Lahteine
584735c994
u8g.h => clib/u8g.h
2018-04-14 12:26:01 -05:00
KangDroid
6c535081ec
[2.0.x] Add optional menu item to toggle software endstops ( #10389 )
2018-04-13 00:24:09 -05:00
Scott Lahteine
0535ebc4d2
MESH_BED_LEVELING before PROBE_MANUALLY
2018-04-12 22:45:52 -05:00
Luc Van Daele
12785583d0
[2.0.x] G33 MIN_STEPS_PER_SEGMENT ( #10386 )
2018-04-12 20:22:29 -05:00
Yunhui Fu
c96412a78f
[2.0.x] UTF-8 language translation support ( #10213 )
2018-04-12 20:14:01 -05:00
Luc Van Daele
646aa20b43
Overhaul of G33 Delta Calibration ( #8822 )
2018-04-11 21:14:48 -05:00
Scott Lahteine
a6485456df
Fix LIGHTWEIGHT_UI with UBL
...
See https://github.com/MarlinFirmware/Marlin/issues/10317#issuecomment-379100702
2018-04-08 03:24:22 -05:00
Scott Lahteine
4dc7e64789
Update Slovak language
...
Based on #10313 by @rmoravcik
2018-04-06 20:23:20 -05:00
GMagician
6ce060cfe0
[2.0.x] Update language_it.h ( #10322 )
...
Updated to #10296
2018-04-06 20:07:46 -05:00
Scott Lahteine
051303ad42
Russian language updates
...
From #10311 by @anton-piliugin
2018-04-05 00:46:46 -05:00
Sean
2fa0a73c2c
Implement filament change continuous purge
2018-04-04 20:57:51 -05:00
Marcio Teixeira
8bc93c6f2b
Improve heating/cooling LCD messages ( #10293 )
2018-04-04 18:29:27 -05:00
Yunhui Fu
a019eebdd6
support utf8 unicode for test language ( #10220 )
2018-04-02 20:03:25 -05:00
Scott Lahteine
adcb87f0db
Z Endstop Servo => Z Probe Servo
2018-04-01 23:54:21 -05:00
Scott Lahteine
31df43212c
Use lcd_printPGM_utf in more places
...
Fix #10256
2018-03-31 20:49:20 -05:00
Scott Lahteine
6098efcc59
Use float62 for LCD edit of Z Fade
2018-03-31 20:03:09 -05:00
Scott Lahteine
f04be05a14
"G28 Z Forbidden" => "Home XY first"
...
Some languages will need to be updated for proper phrasing
2018-03-28 21:51:15 -05:00
Scott Lahteine
9d2ea5d64b
Undo German changes
...
See 941e9bd329 (commitcomment-28262166)
2018-03-28 17:05:14 -05:00
xC0000005
7dc256432f
Restore STM32F1 series to working order. ( #10229 )
...
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
2018-03-28 14:07:52 -04:00
Scott Lahteine
aa6dacbbdf
German update
...
Based on #10216
2018-03-25 15:21:13 -04:00
Yunhui Fu
8322a79bb9
update the UTF-8 C strings for Chinsee languages, for Simplified and Traditional Chinese ( #10211 )
2018-03-25 12:37:54 -04:00
Scott Lahteine
1cb810ff1c
[2.0.x] Automatically reset stepper timeout ( #10179 )
...
* Automatically reset stepper timeout in manage_inactivity
Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.
* blocks_queued => has_blocks_queued
2018-03-21 19:30:06 -05:00
Bob-the-Kuhn
7308ef7809
Add conditional, give DUE SPI a unique name, fix compiler warnings ( #10168 )
2018-03-20 15:53:21 -05:00
Scott Lahteine
fbdc5ad962
Prevent lcd_update stack overflow on SD Card change
2018-03-18 18:58:10 -05:00
Marcio Teixeira
c24dbcbfe1
When STATUS_EXPIRE_SECONDS is 0, hide the position. ( #10081 )
...
Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
2018-03-14 02:44:30 -05:00
Scott Lahteine
f1327fd5f9
Use lcd_goto_previous_menu_no_defer more
2018-03-14 00:50:15 -05:00
Scott Lahteine
65ce0303f8
Fix MKS_12864_OLED blank issue
...
Fixes #10071
2018-03-13 04:54:23 -05:00
Scott Lahteine
5dec828abc
Add MKS_12864OLED to lcd_implementation_init
...
Followup to #7914
2018-03-12 08:54:17 -05:00
Scott Lahteine
51ebdf3b7d
Finish scroll_screen with menu direction/multiplier
...
Fixes #10041
2018-03-11 04:41:12 -05:00
Bob-the-Kuhn
0d8c15c01f
restore PR 9661 files & V1 fix
2018-03-10 22:46:32 -06:00
Bob-the-Kuhn
bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h"
2018-03-10 17:22:20 -06:00
Bob-the-Kuhn
914bb80bde
removed SDSS init
...
added device & comm drivers for shared SPI LCDs
mistyped some updates in ultralcd_impl_DOGM.h
remove unwanted changes in onfiguration.h
still can't type
Update HAL_LCD_class_defines.h
include USB mass storage & misc
2018-03-09 23:06:11 -06:00
Scott Lahteine
3c2bfa5e53
Update powersupply_on in power_on/off ( #10015 )
...
Fix #10004
2018-03-08 18:56:47 -06:00
Scott Lahteine
1913c37a91
Tweak to manual move eindex arg
2018-03-08 16:20:24 -06:00
Scott Lahteine
03e3011332
Fix compile error with MAX_MESSAGE_LENGTH
...
Fix #9988
2018-03-07 21:57:01 -06:00
Scott Lahteine
ca577c1638
Fix up various spacing, comments, and typos
2018-03-07 21:09:08 -06:00
Scott Lahteine
be0e100fed
Fix sd subdirectory encoder position
...
Followup to 7e386c7
2018-03-07 16:54:19 -06:00
Bob-the-Kuhn
04dedc7ed8
always completely initialize display ( #9981 )
2018-03-07 16:40:59 -06:00
Scott Lahteine
0149680f54
Fix compile error with char LCD
2018-03-07 16:25:37 -06:00
Scott Lahteine
7e386c7e98
Fix encoder position for sddirectory
2018-03-07 05:23:03 -06:00
Scott Lahteine
22a017a856
Rebuild SD file sort array on Stop SD Print ( #9976 )
...
Thanks Chuck Hellebuyck.
2018-03-07 01:42:11 -06:00
Marcio Teixeira
fd883c909a
Improvements to Lightweight ST7920 status screen. ( #9952 )
...
- Show units on lightweight status screen.
- Fixed progress bar so it works with M73
2018-03-06 01:49:36 -06:00
Scott Lahteine
f9cafc4001
Fix menu highlight glitch, tweak scrolling code ( #9957 )
2018-03-05 23:05:15 -06:00
Scott Lahteine
2d1233b86c
Fix lcd_quick_feedback call for BTN_BACK
2018-02-28 20:24:11 -06:00
AnHardt
eb8b758226
Fix some mapper, charsize problems ( #9866 )
2018-02-28 18:57:05 -06:00
Scott Lahteine
8bffb26c23
Fix manual move position display
...
Manual moves now correctly include the workspace offset.
2018-02-28 17:33:23 -06:00
Scott Lahteine
bd0967ad87
Fix BTN_BACK
...
Followup to #9835
2018-02-28 03:26:28 -06:00
Scott Lahteine
d9a98b5814
Russian language update
...
From #9849
2018-02-28 03:07:39 -06:00
Scott Lahteine
35ec67885a
Add support for BACK button (RADDS) ( #9835 )
2018-02-26 22:52:57 -06:00
geigerg
4817c78a65
Add files via upload ( #9828 )
2018-02-26 15:44:01 -06:00
TheSFReader
eb079959fb
Report sd card progress [FR] #9751 ( #9832 )
...
* SD Status auto-report feature
Feature Request #9751
2018-02-26 15:38:27 -06:00
Scott Lahteine
19ba91f77a
Fix lcd_custom_bootscreen compiler warning
2018-02-25 04:38:17 -06:00
Scott Lahteine
2024775e07
Spanish (UTF8) Language ( #9786 )
...
From #7314 by @MrAmericanMike
2018-02-23 20:24:02 -06:00
Scott Lahteine
43ff15244d
Fix a progress bar condition
2018-02-23 19:43:44 -06:00
Zachary Hill
4d588b2d6a
Further fix of LCD_PROGRESS_BAR ( #9783 )
2018-02-23 18:53:04 -06:00