Commit Graph

209 Commits (4d5566a6b720d9cfde0073d55e551625144983fe)

Author SHA1 Message Date
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>
Scott Lahteine 083ec9963e Tweaks to heater / lcd conditions
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner ()
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
Scott Lahteine 325bbbc8c2
[2.0.x] Enable AD595 and AD8495 in concert ()
* Allow both AD595 and AD8495 in concert
* General temperature code tweaks
Scott Lahteine a1fab8336e Fix abort of SD printing
Scott Lahteine 81b632c255 Additional temp-oriented improvements
Scott Lahteine b7e938a9fb LCD_BED_LEVELING enables a sub-menu for ABL
Scott Lahteine a90d99c27c Rename float32 => float52, etc.
Scott Lahteine 05fca752d6 Clean up autostart handling
Scott Lahteine 05c33833e7
[2.0.x] Add NO_LCD_MENUS option ()
Scott Lahteine 524cc392f4 Fix sd_status comparison
Co-Authored-By: perkmeister <perkmeister@users.noreply.github.com>
Scott Lahteine 9e0d99c0c6
Round all floats in string conversion functions ()
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional ()
Scott Lahteine 9e07df5c1b
Extra options for LEVEL_BED_CORNERS ()
Scott Lahteine 023385ca59
Merge pull request from thinkyhead/bf2_creality_power_loss_resume
[2.0.x] Creality3D Power-Loss Recovery
Scott Lahteine 3396671011
[2.0.x] Reset LCD status to fallbacks ()
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
Scott Lahteine 11ab017dd0 Creality3D Power-Loss Recovery
Scott Lahteine 78ea4871f9 Fix up enqueue now functions
…and apply to MALYAN_LCD.
Scott Lahteine df2f24617b Use 0 as the bed position (not Z_MIN_POS)
Scott Lahteine e4acd2c40e One fewer compare in _lcd_move_xyz
Scott Lahteine 6c7a17dba6
Abort SD printing more safely ()
Allow the current command to complete when aborting an SD print, otherwise some commands (G28, G29, etc.) will cause trouble.
KangDroid 6c535081ec [2.0.x] Add optional menu item to toggle software endstops ()
Scott Lahteine 0535ebc4d2 MESH_BED_LEVELING before PROBE_MANUALLY
Luc Van Daele 12785583d0 [2.0.x] G33 MIN_STEPS_PER_SEGMENT ()
Yunhui Fu c96412a78f [2.0.x] UTF-8 language translation support ()
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration ()
Sean 2fa0a73c2c Implement filament change continuous purge
Scott Lahteine adcb87f0db Z Endstop Servo => Z Probe Servo
Scott Lahteine 6098efcc59 Use float62 for LCD edit of Z Fade
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout ()
* 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
Scott Lahteine fbdc5ad962 Prevent lcd_update stack overflow on SD Card change
Scott Lahteine f1327fd5f9 Use lcd_goto_previous_menu_no_defer more
Scott Lahteine 51ebdf3b7d Finish scroll_screen with menu direction/multiplier
Fixes 
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off ()
Fix 
Scott Lahteine 1913c37a91 Tweak to manual move eindex arg
Scott Lahteine 03e3011332 Fix compile error with MAX_MESSAGE_LENGTH
Fix 
Scott Lahteine be0e100fed Fix sd subdirectory encoder position
Followup to 7e386c7
Scott Lahteine 0149680f54 Fix compile error with char LCD
Scott Lahteine 7e386c7e98 Fix encoder position for sddirectory
Scott Lahteine 22a017a856
Rebuild SD file sort array on Stop SD Print ()
Thanks Chuck Hellebuyck.
Scott Lahteine f9cafc4001
Fix menu highlight glitch, tweak scrolling code ()
Scott Lahteine 2d1233b86c Fix lcd_quick_feedback call for BTN_BACK
Scott Lahteine 8bffb26c23 Fix manual move position display
Manual moves now correctly include the workspace offset.
Scott Lahteine 35ec67885a
Add support for BACK button (RADDS) ()
TheSFReader eb079959fb Report sd card progress [FR] ()
* SD Status auto-report feature
Feature Request 
Scott Lahteine 43ff15244d Fix a progress bar condition
Scott Lahteine 2bd252b501
[2.0.x] LIN_ADVANCE v1.5 ()
Studiodyne 9c9cd54ef3 Add Z Fade Height edit to UBL and Tune submenus ()
Marcio Teixeira 532bb3aaa1 Lightweight status screen for ST7920
- This status screen uses the ST7920 character generator to greatly
  reduce SPI traffic and MCU load when updating the status screen.

- Has been tested with the RepRapDiscount Full Graphics Smart Controller
  but should work with any LCD that uses an ST7920 or fully compatible
  controller.
Scott Lahteine 72f63a4980 Fix DOGM progress bar with LCD_SET_PROGRESS_MANUALLY
Scott Lahteine fc460fff94 Extend menu items for SWITCHING_EXTRUDER
Reference 
Scott Lahteine 25e3e62354 Null-terminate lcd_status_message
Thomas Moore cff62042ee Fix LCD manual movement on kinematic machines ()
Scott Lahteine 93c0198b2d Init LCD welcome message programmatically
Scott Lahteine e6b8207b03 Restore welcome message
GMagician 299606e4ae [2.0.x] Memory overflow protection ()
Scott Lahteine 5a70887467
Size lcd_status_message based on language ()
Scott Lahteine e5ee0b6f6c Implement MALYAN_LCD
Scott Lahteine 2ea4e74ed3 Misc. comments
Thomas Moore 786746404b [2.0.x] Apply feedrate to nozzle movement for kinematic machines ()
Scott Lahteine 79796b22ad Fix up _Bootscreen.h and _Statusscreen.h
Scott Lahteine 61bf8478a2 Add hotEnough methods
GMagician 719cd53e09 Standardized max temp values
Everywhere in menu items temperatures are "defined value" subtracted by 15.
In one place is subtracted by 5
Roxy-3D f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm ()
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.

The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
Bob-the-Kuhn e633ce06c7 LCD contrast type mismatch is back
WORKS!
Tannoo f26805e862 [2.0.x] UBL Mesh Storage Message ()
Bob-the-Kuhn cb0e826c5d
Merge pull request from Bob-the-Kuhn/SD-detect
[2.0.x] SD card detect improvement
Bob-the-Kuhn f72b0a7b04 1234
Scott Lahteine e89f1453ab UBL G29 works without settings.load()
Scott Lahteine 7541316bb4 Add M701/M702 Filament Load/Unload, M603
Scott Lahteine 455592eee8 Improvements to LCD menu macros
Tannoo e43f3ac989 EEPROM init fix
Scott Lahteine fc67c64b8f
Merge pull request from tcm0116/2.0.x_ubl
[2.0.x] Fix UBL compilation warnings
Thomas Moore 8afc4f8d9d Fix UBL compilation warnings
Bob-the-Kuhn e9fc7bc69c
Merge pull request from Bob-the-Kuhn/2.0-LCD-contrast
[2.0.x] lcd_contrast type mismatch work around
Roxy-3D 39e5fabfa9
Z BabyStepping should not be dependent on a bed leveling system being active
Bob-the-Kuhn ef911a2d12 works
Scott Lahteine 2929c9e56f A specific option to SLIM_LCD_MENUS
Scott Lahteine 615146c069 Enqueue commands better in ultralcd.cpp
Scott Lahteine 9ecdd1f4c7 Multi extruder support for M600 and LCD
Scott Lahteine a1ce6e8ff4 Clear lcd_clicked immediately on use
Scott Lahteine f163eede78 No sub-menu if NO_VOLUMETRICS
For parity with 
Scott Lahteine 4ef965cc40 Fix compiler warnings
Scott Lahteine 4b49ea1e92 General cleanup of config-store, reset_bed_level
Scott Lahteine 933f76fda3 Option to disable all volumetric extrusion
Scott Lahteine de5ca96654 More parity with 1.1.x, plus whitespace
Scott Lahteine 9898b96992 No lcd_map_control flag in quick_stop
Scott Lahteine c846388a65 Standardize LCD interface code for UBL a little
Scott Lahteine 2fde60da12 Changes for parity with 1.1.x
Scott Lahteine aeb5c623c1 Show "Level Bed Corners" with UBL too
Addressing 
Scott Lahteine e37dd64548 Apply LEDColor, language fixes
Tannoo cf0f78336b New Feature: LED_CONTROL_MENU
Scott Lahteine 276271e72f Make MBL work more like PROBE_MANUALLY
Scott Lahteine f90c075d1f SD Menu patches
Scott Lahteine 9b64be0bc5 Fixes for leveling sub-menus
Scott Lahteine 5926c9c97b Followup for MESH_EDIT_GFX_OVERLAY
Scott Lahteine c6b0c104bb Adapt G26 to work for all meshes
Scott Lahteine 9406c87a97 Fix up LCD init / charset
Scott Lahteine 56c02b7f59 Shift register buttons question
Can LCD shift registers keep up with faster MCUs?
Scott Lahteine 3994d3b935 General cosmetic LCD