Commit Graph

46 Commits

Author SHA1 Message Date
Scott Lahteine
e8b0796fc7 Revert menu_item_if ahead of refactor 2020-04-29 15:06:38 -05:00
Scott Lahteine
4f003fc7a7
Streamline menu item logic (#17664) 2020-04-27 23:52:11 -05:00
Scott Lahteine
c536b8de62 Apply ternary macros 2020-04-27 06:30:28 -05:00
Scott Lahteine
ab2b98e425 Apply composite tests 2020-04-23 21:53:52 -05:00
Scott Lahteine
6d90d1e1f5
Apply TERN to compact code (#17619) 2020-04-22 16:35:03 -05:00
Scott Lahteine
118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
jufimu12
627aa8db2d
Fix G34, add HOME_AFTER_G34 option (#17108)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-03-10 20:00:26 -05:00
ellensp
7d4fa9d504
Fix LCD Z Move character LCD display line (#16772) 2020-02-03 18:35:06 -06:00
Scott Lahteine
bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
Scott Lahteine
27cb4db80e
Reduced string storage using tokens (#15593) 2019-11-14 20:30:30 -06:00
Scott Lahteine
15f94e5ee5 Add NUL_STR global 2019-11-02 07:31:07 -05:00
Scott Lahteine
ea3217cd46
Move 'draw' methods into Menu Item classes (#15760) 2019-11-02 07:28:20 -05:00
Scott Lahteine
ca6d00b862 Save some string flash 2019-11-02 00:48:05 -05:00
Scott Lahteine
23d21dd81c Tweak lambdas 2019-11-02 00:05:23 -05:00
Scott Lahteine
600429a067 Cancel Objects followup 2019-10-25 20:08:45 -05:00
Scott Lahteine
f00b48f9a8 Expand encoder value range 2019-10-21 18:56:24 -05:00
ANMay-ru
b119c14017 Clean up LCD print, align (#15498) 2019-10-09 20:41:44 -05:00
Marcio Teixeira
6a865a6146 Multi-language support (#15453) 2019-10-09 19:46:10 -05:00
Scott Lahteine
cb1cb72c76 Fix Move Z menu item 2019-10-08 17:24:40 -05:00
Scott Lahteine
cc822c1a05
Use lambdas in menus, where possible (#15452) 2019-10-07 19:44:33 -05:00
Scott Lahteine
273cbe931e Aliases for common menu item types 2019-10-03 06:15:21 -05:00
Scott Lahteine
50e4545255
Add custom types for position (#15204) 2019-09-29 04:25:39 -05:00
Scott Lahteine
4c16661153 Use named styles in draw_menu_item_static 2019-09-27 04:45:01 -05:00
Scott Lahteine
584c86bed1
More "zero extruders" changes (#15213) 2019-09-10 02:20:49 -05:00
Scott Lahteine
c8e30b6639
Fix code attempting to sprintf %f (#14869)
Arduino doesn't (always) support `float` formatting in strings. So either cast to `int` or use `dtostrf()` to fix these usages.
2019-08-08 01:51:37 -05:00
Acenotass
659d06d9b9 M48 menu item, result to status (#14772) 2019-07-30 02:31:14 -05:00
MarcelMo
f8aa52346f Configurable Z move distance (#14593) 2019-07-30 02:16:26 -05:00
Ludy
39e1726498 Comments, includes (#14671) 2019-07-20 01:41:34 -05:00
Robby Candra
c9aa68ef7a Encoder direction: Wrangle, Revert select screen change (#14628) 2019-07-17 19:41:15 -05:00
Tanguy Pruvot
ca7f56e60b Add 0.025mm Manual Move for Z (#14456) 2019-07-01 03:17:50 -05:00
Scott Lahteine
93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Robby Candra
9e86fc3831 Require homing to toggle leveling (#13652) 2019-04-11 14:09:41 -05:00
chai-md
2adc37becc MAGNETIC_SWITCHING_TOOLHEAD (#13629) 2019-04-11 13:29:17 -05:00
Scott Lahteine
321a5e6580
Fix SD card reselect when scrolled (#13624)
- Change encoder position to 16-bit integer.
- Fix `SD_REPRINT_LAST_SELECTED_FILE` when the screen is scrolled.
2019-04-08 21:10:41 -05:00
Scott Lahteine
d8329d858d Default argument to defer_status_screen 2019-03-23 16:33:37 -05:00
Scott Lahteine
49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
Scott Lahteine
87162658c4
Fix and improve software endstops (#13386) 2019-03-13 05:48:36 -05:00
Scott Lahteine
0feeef2604 Update copyright in headers 2019-02-12 15:30:11 -06:00
Scott Lahteine
0495fcd475 Minor spacing fix 2019-01-20 00:10:50 -06:00
teemuatlut
1a79878dff Remove TMC_Z_CALIBRATION in favor of Z_STEPPER_AUTO_ALIGN 2019-01-12 18:07:28 -06:00
Scott Lahteine
a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
2018-11-11 12:16:24 -06:00
Scott Lahteine
e574f01568
More advanced pause tweaks (#12356)
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
2018-11-06 19:25:57 -06:00
Scott Lahteine
d1ff22b983 Revive SCARA's home offset (unimplemented) 2018-11-03 06:24:41 -05:00
Ludy
9f77df2590 Followup to menu refactor. TMC warnings, sanity. (#12288)
- Followup fixes for menu refactor
- Fix TMC sanity checks, unused var warnings
2018-11-01 16:13:33 -05:00
TheLongAndOnly
5536228359 G34 Auto-align multi-stepper Z axis (#11302) 2018-10-29 14:01:36 -05:00
Scott Lahteine
a489c9fa52 Move Motion Menu to its own file 2018-10-28 15:46:45 -05:00