Scott Lahteine
454cbcce51
Fix the wait loop in M0 / M1
2020-02-25 12:20:54 -06:00
Scott Lahteine
9040394e8e
Fix card_eof error
2020-02-24 11:00:01 -06:00
Scott Lahteine
5e197df89a
Fix Babystepping loop (again)
2020-02-24 05:48:42 -06:00
Scott Lahteine
0ba18848af
Allow USE_GCODE_SUBCODES for debugging
2020-02-22 22:50:03 -06:00
Scott Lahteine
b2328d089a
Allow LCD_PIXEL_WIDTH/HEIGHT override
2020-02-22 21:36:21 -06:00
Scott Lahteine
29ec868c4b
Commit last SD line before fileHasFinished
2020-02-22 20:46:52 -06:00
ellensp
7bf3581b02
Fix M0/M1 broken wait loop ( #16921 )
2020-02-22 18:37:39 -06:00
Scott Lahteine
1ab6f910b6
Use moves_free in ok_to_send
2020-02-22 02:30:59 -06:00
Scott Lahteine
22b974691e
Tweak process_line_done for speed
2020-02-20 20:36:51 -06:00
Scott Lahteine
19991e269b
Show end prompt with Print Event LEDs
2020-02-20 20:36:50 -06:00
Scott Lahteine
a1f026f57a
Inline manage_inactivity, tweak autoreport_paused
2020-02-20 20:36:50 -06:00
Robby Candra
1c52d76668
Serial redirect for Move Command when stopping ( #16906 )
2020-02-20 02:22:07 -06:00
Giuliano Zaro
42208bc031
Fix unknown command on empty lines ( #16867 )
2020-02-16 01:10:20 -06:00
Scott Lahteine
073e4443e8
Optimize "Dismiss" string
2020-02-14 00:05:06 -06:00
Scott Lahteine
00ba053c90
Clean up host actions code ( #16856 )
2020-02-13 23:39:27 -06:00
Robby Candra
af84e362cc
Remove unused queue.stopped_N ( #16850 )
2020-02-13 18:59:32 -06:00
Gaston Dombiak
082117c4bb
Ping the job timer in M140 ( #16849 )
2020-02-13 18:43:47 -06:00
Giuliano Zaro
0e17d10bf3
Fix G-code line parsing ( #16840 )
2020-02-13 18:30:47 -06:00
Scott Lahteine
fa4a6cdb5c
Fix out-of-order M0 after SD printing
...
Fixes #14774
Co-Authored-By: tol2cj <tol2cj@users.noreply.github.com>
2020-02-10 16:33:40 -06:00
Scott Lahteine
3bef7a4450
Add g-code quoted strings, improve stream code ( #16818 )
2020-02-10 14:52:15 -06:00
Scott Lahteine
0ce83dee95
Show print time with PRINTER_EVENT_LEDS
2020-02-09 11:37:43 -06:00
Scott Lahteine
38873596ec
Tweak parser warning
2020-02-09 11:37:43 -06:00
Scott Lahteine
130e36d766
Tweak ABL logging, document probing
2020-02-08 17:47:54 -06:00
Tanguy Pruvot
54aff83179
G26: Allow to set retraction for UBL mesh test ( #16511 )
2020-02-05 20:33:39 -06:00
Scott Lahteine
f312ddfa4f
More updates for 8 extruders, REPEAT
2020-02-04 12:37:20 -06:00
Scott Lahteine
7bf2190f03
Fix CALIBRATION_GCODE pin handling
2020-02-04 08:32:43 -06:00
Scott Lahteine
bfad23d3e2
(c) 2020
2020-02-03 08:00:57 -06:00
Scott Lahteine
72b4d91d2e
Add Z_AFTER_HOMING to raise Z more in G28 ( #16755 )
2020-02-02 00:02:30 -06:00
Scott Lahteine
4716dac874
Apply REPEAT, RREPEAT, and loop macros ( #16757 )
2020-02-01 21:00:53 -06:00
Scott Lahteine
0e72c315a0
Minor string storage optimization
2020-02-01 20:29:31 -06:00
Scott Lahteine
22556a7bbf
More 8-extruder fixups
2020-02-01 15:19:58 -06:00
Scott Lahteine
5296af94d2
Drop obsolete SD special char handling
...
See #14035
2020-02-01 06:49:56 -06:00
InsanityAutomation
e58d1bf974
G34 automatic point assignment ( #16473 )
2020-02-01 04:50:44 -06:00
Scott Lahteine
90b6324563
Encapsulate probe as singleton class ( #16751 )
2020-02-01 04:21:36 -06:00
Scott Lahteine
3c9464eea4
Tweak G60/G61 slots
2020-01-30 03:25:40 -06:00
Scott Lahteine
9caf5c05e7
Refactor heater watch, job timer auto-start ( #16725 )
2020-01-30 03:24:43 -06:00
Scott Lahteine
50889c0f94
Move L64XX index_to_axis to progmem ( #16697 )
2020-01-30 03:24:23 -06:00
chgi
99b6a132bc
Fix G60/G61 slots > 8 and compile error ( #16715 )
2020-01-30 03:18:45 -06:00
Radek Pietruszewski
e6a675e6ec
Fix missing string for M48 build ( #16708 )
2020-01-30 03:13:31 -06:00
Neskik
1db9d9f76f
Fix probe temp calibration ( #16718 )
2020-01-30 03:00:38 -06:00
Scott Lahteine
e8ed4329ea
Cleanup of old includes, add comments
2020-01-29 22:41:18 -06:00
Scott Lahteine
8bd6b60a01
Remove extraneous G60/G61 lines
2020-01-27 15:40:25 -06:00
Hans007a
e2eef1256a
G60/G61 Position Save/Restore ( #16557 )
2020-01-26 23:19:05 -06:00
Robby Candra
a0a93e35ae
Fix serial port redirection (index ≠ port num) ( #16687 )
2020-01-26 22:46:26 -06:00
Jason Smith
95d5a0c480
Fix DELTA_CALIBRATION_MENU recursive call ( #16656 )
2020-01-26 00:02:06 -06:00
yangwenxiong
248b7dfa59
BigTreeTech GTR V1.0 / Support 8 extruders, heaters, temp sensors, fans ( #16595 )
2020-01-25 02:13:39 -06:00
Bob Kuhn
0d166f9c7d
Duet Smart Effector support ( #16641 )
2020-01-25 02:00:51 -06:00
Ryan
b7f86bffd5
Arc segment radius scaling ( #16551 )
2020-01-21 02:53:26 -06:00
Tanguy Pruvot
c8ac908db2
Release UI on G26 priming timeout ( #16449 )
2020-01-21 01:05:55 -06:00
Bob Kuhn
a1f5245e27
L64xx M906 Fix status variable, formatting ( #16597 )
2020-01-20 01:15:00 -06:00
InsanityAutomation
0fcf2b1110
Quad Z stepper support ( #16277 )
2020-01-19 23:35:07 -06:00
ellensp
0547d9d651
Reset shutdown timer on M85 ( #16587 )
2020-01-19 22:24:12 -06:00
Scott Lahteine
707349d492
Updates for L64XX
2020-01-19 19:53:12 -06:00
Scott Lahteine
79c2f05e7d
Fix M112 with Emergency Parser
2020-01-19 19:00:24 -06:00
tompe-proj
a338dce83f
PINDA v2 temperature sensor / compensation ( #16293 )
2020-01-17 17:16:45 -06:00
Bob-the-Kuhn
0d0dfba203
STM32 soft SPI. STEVAL_3DP001V1 SD read. M906 tweaks. ( #16579 )
2020-01-17 02:44:01 -06:00
gjdodd
7481563bd9
Nikon IR support for time lapse photos ( #16539 )
2020-01-15 17:59:41 -06:00
InsanityAutomation
ffd8b595d1
Fix PLR cancel with ExtUI ( #16556 )
2020-01-13 20:52:24 -06:00
Bob Kuhn
1ad53cee1f
Improved STMicro L64XX stepper driver support ( #16452 )
2020-01-13 18:47:30 -06:00
Bob Kuhn
c4ffe74d71
Add SERVO, TONE timers to variant for better STEVAL_3DP001V1 support ( #16538 )
2020-01-13 00:26:17 -06:00
Ryan V1
56e51efeea
Use RECIPROCAL macro (not _RECIP) ( #16530 )
2020-01-11 17:16:16 -06:00
Luc
d854c8fa5f
ESP3d integration for ESP32 ( #16515 )
2020-01-10 17:22:41 -06:00
Jamie
36d08f8ad3
Add ARC_SEGMENTS_PER_SEC for finer G2/G3 arcs ( #16510 )
2020-01-09 04:48:00 -06:00
Scott Lahteine
95046c9047
Extend SERIAL_CHAR to take multiple arguments
2020-01-08 18:36:47 -06:00
Jamie
022b6b9067
Fix M115 cap with EXTRUDERS == 0 ( #16459 )
2020-01-05 01:54:30 -06:00
George Fu
e593da1c23
Update and fix DGUS ( #16317 )
2020-01-03 21:00:44 -06:00
Jason Smith
3cade6245e
Fix MIN_PROBE_EDGE bug in default ABL G29 ( #16367 )
2020-01-03 17:46:26 -06:00
Dirk O. Kaar
d0e1166cce
Fix Visual Micro "Arduino IDE for Visual Studio" support ( #16418 )
2020-01-02 19:01:38 -06:00
InsanityAutomation
1c9ccce520
Add NOZZLE_AS_PROBE (no probe offsets) ( #15929 )
2019-12-24 00:03:08 -06:00
randellhodges
0b6c2d893e
Fix G34 with Z_DUAL_STEPPER_DRIVERS compile ( #16274 )
2019-12-20 22:03:37 -06:00
Scott Lahteine
deff538909
Fix broken M100_dump_routine
2019-12-19 21:02:14 -06:00
Scott Lahteine
b49a0e39d5
HOME_USING_SPREADCYCLE is obsolete
...
Co-Authored-By: teemuatlut <teemu.mantykallio@live.fi>
2019-12-19 16:02:57 -06:00
Scott Lahteine
865071a946
Tweak code formatting
2019-12-19 02:16:17 -06:00
Moshi Binyamini
dcdaa2025f
Sanity-check Z_STEPPER_AUTO_ALIGN coordinates ( #16231 )
2019-12-19 00:59:01 -06:00
Scott Lahteine
0400783444
Tweak G34, fix a declaration
2019-12-19 00:42:39 -06:00
danym21
6e8dcba698
Fix G28 debug line, M569 calls ( #16213 )
2019-12-15 12:00:00 -06:00
Luu Lac
e9dadacf7b
Fix bad #ifdef ( #16227 )
2019-12-15 11:16:36 -06:00
Scott Lahteine
f3d64b7115
Cardreader read/write open methods
2019-12-12 18:46:49 -06:00
Scott Lahteine
83a4e8559c
Followup to "optimize common strings"
2019-11-30 08:18:23 -06:00
Felicia Hummel
690ed531b6
Configurable PSU power-on delay ( #16050 )
2019-11-30 07:17:24 -06:00
Scott Lahteine
1ee648ecd2
Followup to "optimize common strings"
2019-11-30 06:55:32 -06:00
Scott Lahteine
f83bc0aa13
Optimize common strings
...
Saves 128 bytes in testing with `mftest mega 1 -y`
2019-11-29 22:54:42 -06:00
BigTreeTech
441ee3e53f
Add 'M114 E' to get E position (M114_DETAIL) ( #16026 )
2019-11-29 06:53:32 -06:00
Jason Smith
752a1e76ab
Float ABL mesh boundaries, no probe position rounding ( #16018 )
2019-11-27 01:29:25 -06:00
Scott Lahteine
98f83dc756
Add comments to G29
2019-11-27 01:05:22 -06:00
haschtl
ff6518c0a8
Add PID_FAN_SCALING option ( #15585 )
2019-11-26 03:34:43 -06:00
lukasmatena
8ccfdaca02
Add M220 B/R with PRUSA_MMU2 ( #15739 )
2019-11-26 03:34:18 -06:00
Scott Lahteine
1d150e41b6
Reduce MMU2 code, add test
2019-11-26 02:15:31 -06:00
InsanityAutomation
2142beb2e5
Fix UI compile error in UBL ( #15981 )
2019-11-24 17:04:19 -06:00
Scott Lahteine
b11551c767
Touch UI updates for Cocoa Press ( #15986 )
2019-11-24 06:08:05 -06:00
Denis Semenov
0fcd1f4a49
Fix HAS_CLASSIC_E_JERK and related issues ( #15968 )
2019-11-23 15:56:07 -06:00
Jason Smith
b904ba0f29
Improve Delta probing / calibration ( #15887 )
2019-11-21 03:26:00 -06:00
Jason Smith
4ede13e36a
Fix G29 for updated meshCount type ( #15960 )
2019-11-21 03:19:56 -06:00
BigTreeTech
ab8b24fdba
Power Loss Recovery with a UPS ( #15943 )
2019-11-20 17:40:21 -06:00
Scott Lahteine
ab9f0f2c4f
Followup to meshCount patch
2019-11-20 04:57:04 -06:00
InsanityAutomation
798f34abcd
Float XY probe offset followup (probe edge) ( #15928 )
2019-11-19 23:29:52 -06:00
Evgeny-SPB
7116a8645c
G34 logic / typo fix ( #15938 )
2019-11-19 23:25:07 -06:00
InsanityAutomation
4d4e692c81
Match onMeshUpdate() index sign ( #15920 )
2019-11-19 23:16:43 -06:00
Roxy-3D
f19fa64e98
Eliminate multiple settings to extruder_duplication_enabled in G28
...
If the IDEX mode was previously set (via GCode or the LCD Panel) to a duplication mode... It was lost after a G28 due to this redundant setting of 'extruder_duplication_enabled'.
It is very important to the various use cases of IDEX machines that extruder_duplication_enabled is preserved across a G28. The reason is this allows a person to use the LCD Panel to put the machine into a duplication mode, and then send a 'normal' part file to the printer and get two parts out of the process.
2019-11-15 15:42:01 -06:00
Scott Lahteine
602ca5dea6
No USE_M73_REMAINING_TIME without LCD_SET_PROGRESS_MANUALLY
2019-11-13 02:07:17 -06:00
Roman Moravčík
e110f5abce
M73 R : Set Remaining Time ( #15549 )
2019-11-12 19:36:54 -06:00
danym21
28e1614c2e
Add Sensorless Homing current ( #15690 )
2019-11-10 18:45:06 -06:00
Jason Smith
770adcfa15
Raise Z before homing X/Y on unknown Z ( #15859 )
2019-11-10 16:21:20 -06:00
ellensp
7b29c60c46
Fix compile with chamber enabled ( #15862 )
2019-11-10 16:15:08 -06:00
Scott Lahteine
776632c503
Add and apply REPEAT macro ( #15829 )
2019-11-09 17:59:04 -06:00
Scott Lahteine
ca6d00b862
Save some string flash
2019-11-02 00:48:05 -05:00
Scott Lahteine
ad28da7eb4
Patch ABL G29 loop
...
Followup to e3ddf6e81a
2019-11-01 15:39:05 -05:00
Scott Lahteine
e7d9db284e
Followup to M240 patch
2019-10-31 17:27:19 -05:00
Raúl Lázaro Sánchez
7c60853219
Fix blocking delay in Photo G-code M240 ( #15728 )
2019-10-31 17:14:11 -05:00
Scott Lahteine
4e6e02bc3e
Include pause.h for M701-702
2019-10-31 13:18:50 -05:00
Scott Lahteine
e3ddf6e81a
Fix meshCount signed-ness
2019-10-31 13:18:50 -05:00
Scott Lahteine
c80eda073f
M119 => report_states
2019-10-30 15:24:10 -05:00
Scott Lahteine
7a342ecb93
Show Total E during print ( #15703 )
2019-10-27 17:49:27 -05:00
Scott Lahteine
ab0fe1a7dd
Tweak G29 faux point
2019-10-26 14:41:54 -05:00
Scott Lahteine
732bf89878
Get 'cancelable' for gcode.cpp
2019-10-25 19:38:23 -05:00
Scott Lahteine
014b739bac
Fix M486 int parameters
2019-10-25 19:19:33 -05:00
Scott Lahteine
93f0012959
Cancel Objects - As seen at ERRF2019 ( #15590 )
2019-10-24 15:35:40 -05:00
InsanityAutomation
82fb046013
Allow suicide pin inverting ( #15586 )
2019-10-24 14:07:28 -05:00
Jacob Jordan
9895e6d766
Only use slow homing speed where applicable ( #15640 )
2019-10-24 13:14:45 -05:00
Robby Candra
cf8541a7a7
Fix G92.9 (thus PLR Z position) ( #15625 )
2019-10-24 13:05:50 -05:00
Scott Lahteine
cd3ec5a77b
Add error-check to M422
2019-10-24 12:59:50 -05:00
milkpirate
6bcd4eb12d
Fix M420 (UBL) undefined variables ( #15621 )
2019-10-24 12:07:17 -05:00
Scott Lahteine
af214ff121
Fix up PSU_CONTROL checks
2019-10-22 16:16:12 -05:00
Scott Lahteine
160c8be191
Fix BABYSTEP_DISPLAY_TOTAL output
2019-10-21 13:53:19 -05:00
Scott Lahteine
0652f19673
Fix M420 for moved probe methods
2019-10-16 15:56:34 -05:00
Scott Lahteine
bb381e22b2
Fix left-shift warning
2019-10-16 15:42:46 -05:00
Bo Herrmannsen
0d7736d663
Enable M191 ( #15531 )
2019-10-16 15:02:37 -05:00
Jason Smith
832cb7e1ac
Z_STEPPER_AUTO_ALIGN — To align with Z stepper points ( #15195 )
2019-10-16 13:39:58 -05:00
Scott Lahteine
b7b303f4bf
Spindle/Laser power in planner blocks ( #14437 )
2019-10-15 16:10:20 -05:00
Scott Lahteine
faacfe13c2
Tweak M105 layout
2019-10-15 13:35:13 -05:00
Antti Andreimann
d47f29bd4c
Give a dummy response to M105 with zero thermistors ( #15568 )
2019-10-15 13:30:52 -05:00
Robby Candra
e79666a82b
Followup to "Fix G2/G3 rounding" ( #15510 )
2019-10-10 21:16:37 -05:00
LinFor
b20d5a7cc6
Estimate Remaining Time (graphical display) ( #15497 )
2019-10-10 21:03:33 -05:00
Ed Williams
d8aeeb8ff6
Fix G2/G3 rounding error ( #15507 )
2019-10-10 19:50:08 -05:00
Marcio Teixeira
6a865a6146
Multi-language support ( #15453 )
2019-10-09 19:46:10 -05:00
Scott Lahteine
c0005e939c
Enable junction deviation by default ( #15481 )
2019-10-08 19:42:18 -05:00
Scott Lahteine
e84389c976
Fix G2/G3 workspace plane parameters ( #15475 )
2019-10-07 17:09:20 -05:00
LinFor
19b7be067c
Allow M73 to override SD position ( #15449 )
2019-10-07 16:38:58 -05:00
Scott Lahteine
56595a4c9c
Improve G2/G3 precision
...
See https://github.com/MarlinFirmware/Marlin/issues/14745#issuecomment-538781253
2019-10-07 00:03:17 -05:00
Scott Lahteine
519cc1bc67
NUM_AXIS is now obsolete
2019-10-06 22:18:16 -05:00
Scott Lahteine
0322348924
Handle runout in runout.cpp
2019-10-03 06:27:30 -05:00
Oliver Jean Eifler
d52b908627
Fix coordinate size for G26 w/out arcs ( #15443 )
2019-10-01 20:02:27 -05:00
InsanityAutomation
438835f6a5
Configurable Max Accel, Max Feedrate, Max Jerk edit limits ( #13929 )
2019-10-01 19:59:48 -05:00
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
2019-09-30 22:56:22 -05:00
Scott Lahteine
139b7196a0
Watchdog cleanup ( #15283 )
2019-09-29 17:57:29 -05:00
Scott Lahteine
f307ff68f7
Multiply by float, not double
2019-09-29 17:25:27 -05:00
Alex Somesan
10bbed7f69
Fix comma/semicolon typo ( #15420 )
2019-09-29 16:50:53 -05:00
Scott Lahteine
50e4545255
Add custom types for position ( #15204 )
2019-09-29 04:25:39 -05:00
Scott Lahteine
7c5e6900e1
Tweak comment
2019-09-28 22:08:02 -05:00
InsanityAutomation
0ca6abce72
Add reporting to M290 ( #15376 )
2019-09-28 16:58:48 -05:00
InsanityAutomation
a6b0223eea
Revive and improve DELTA probe bounds, LRFB options ( #15372 )
2019-09-28 01:19:11 -05:00
InsanityAutomation
5221e2d991
Restore Host Prompt Info ( #15387 )
2019-09-27 17:06:26 -05:00
Scott Lahteine
d683f98019
Return buffer in duration.toString
2019-09-27 04:45:01 -05:00
Marcio Teixeira
a18d16fb8b
Do not implicitly concatenate localized strings ( #15383 )
2019-09-27 04:38:43 -05:00
Scott Lahteine
665e45e0ba
Reduce string storage, use masking 'seen'
2019-09-26 04:30:55 -05:00
Scott Lahteine
455dabb183
Add a feedRate_t data type ( #15349 )
2019-09-26 01:28:09 -05:00
Scott Lahteine
b2e1f77f58
Fix extraneous "Home XYZ First" message
2019-09-25 21:57:20 -05:00
Scott Lahteine
25c4c2f24e
Fix bool in M851
2019-09-25 08:39:11 -05:00
Scott Lahteine
da1bda493e
Apply Marlin conventions to M851
2019-09-25 03:57:16 -05:00
InsanityAutomation
e9cf46a9a5
M851 XY 3 point followup (incomplete) ( #15361 )
2019-09-25 02:43:41 -05:00
Robby Candra
9c288a682d
Followup to probe_at_point change ( #15342 )
2019-09-25 02:29:10 -05:00
Scott Lahteine
5288c399ce
Patch probe offset name, defines
2019-09-24 23:39:23 -05:00
Scott Lahteine
4e8d9fe59b
zprobe_offset => probe_offset
2019-09-24 23:36:09 -05:00
InsanityAutomation
df1e51258a
Add M851 X Y probe offsets ( #15202 )
2019-09-24 21:29:21 -05:00
Scott Lahteine
5e13fe989f
Rename some feedrate-oriented functions
2019-09-23 22:36:41 -05:00
Scott Lahteine
13d725d24d
Tweak debug messages
2019-09-20 23:35:22 -05:00
Scott Lahteine
1a1375964f
Drop unused G26 function
2019-09-18 04:07:14 -05:00
Scott Lahteine
b71a755a30
Add float suffix in G33
2019-09-17 23:30:27 -05:00
Scott Lahteine
c353eaa146
Misc changes from struct refactor ( #15289 )
2019-09-17 18:16:28 -05:00
Bas Stottelaar
847e4ced11
Fix M43 without watchdog ( #15280 )
2019-09-16 16:09:43 -05:00
Scott Lahteine
d5f5203880
Use "mount" as card verb
2019-09-15 03:12:44 -05:00
Scott Lahteine
465c6d9230
Simpler Allen Key config. Fixes, cleanups from refactor ( #15256 )
2019-09-14 03:05:10 -05:00
Scott Lahteine
f9992c5f33
Implausible
2019-09-11 02:52:14 -05:00
Scott Lahteine
6091e6300a
Fix G90, G91, M82, M83 rel/abs modes ( #15218 )
2019-09-11 01:29:33 -05:00
Scott Lahteine
c590e8ac05
Improve Power-loss Recovery ( #15135 )
2019-09-10 18:52:41 -05:00
Scott Lahteine
75927e17dd
Filament Width Sensor singleton ( #15191 )
2019-09-10 18:48:58 -05:00
Scott Lahteine
584c86bed1
More "zero extruders" changes ( #15213 )
2019-09-10 02:20:49 -05:00
Scott Lahteine
841c8ce0d9
Remove PROMPT_INFO / PROMPT_GCODE_INFO ( #15210 )
2019-09-09 15:43:06 -05:00
InsanityAutomation
0693767efa
ExtUI Pause/Stop on all Pause/Stop ( #15188 )
2019-09-08 01:47:07 -05:00
Lucio Tarantino
8ac52aedff
M118 multiserial support ( #15176 )
2019-09-08 00:57:59 -05:00
Jamie
dbee0e9c54
Analog joystick jogging control ( #14648 )
2019-09-08 00:55:34 -05:00
Ludy
068c303742
More translatable LCD strings ( #15190 )
2019-09-08 00:15:25 -05:00
Scott Lahteine
7496e1cd67
whitespace
2019-09-04 21:55:41 -05:00
Jamie
293b890940
Apply soft limits to G2/G3 final target ( #15156 )
2019-09-04 13:02:30 -05:00
Giuliano Zaro
9958f5e322
Home on G34 if steppers slept ( #15127 )
2019-09-02 02:44:48 -05:00
Scott Lahteine
a2e412c0ce
Rename command buffer var
2019-09-01 20:43:31 -05:00
Scott Lahteine
586b334c2a
Split up stepper indirection ( #15111 )
2019-08-31 19:44:45 -05:00
Luu Lac
081e4506ca
Fix G53 as prefix, G28 with CNC_COORDINATE_SYSTEMS ( #15069 )
2019-08-28 04:20:28 -05:00
InsanityAutomation
b7796bcce6
Disable steppers on M112 ( #15065 )
...
And change verbiage to not refer to "Emergency Stop."
2019-08-28 00:51:01 -05:00
InsanityAutomation
f218405c36
Fix ExtUI invalid speed, timer ( #15031 )
2019-08-25 04:46:02 -05:00
Scott Lahteine
dd6efe96e7
Restore documented M503 behavior
2019-08-22 18:58:11 -05:00
InsanityAutomation
af5a7a2925
Add missing ExtUI user confirmation ( #14992 )
2019-08-18 21:03:26 -05:00
Marcio Teixeira
274934ad81
Add LULZBOT_TOUCH_UI ( #14967 )
2019-08-16 18:34:13 -05:00
Marcio Teixeira
179d6c4ed1
Add STARTUP_SCRIPT option. M17 parity with M18. ( #14953 )
2019-08-14 21:05:15 -05:00
Joseph Bozarth
0fbb26c28f
M16 - Expected Printer Check ( #14924 )
2019-08-13 23:38:45 -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
Chris Pepper
f499cecf0d
Marlin Binary Protocol Mark II ( #14817 )
2019-08-05 20:41:53 -05:00
Acenotass
4af9908764
Update M48 command in the status line ( #14816 )
2019-08-05 20:01:40 -05:00
teemuatlut
d4974ea719
TMC SPI Endstops and Improved Sensorless Homing ( #14044 )
2019-08-04 22:22:58 -05:00
InsanityAutomation
f59a7e8b07
Print/display ABL current probe point ( #14788 )
2019-08-01 20:11:26 -05:00
InsanityAutomation
6f8b8c394d
Homing backoff per-axis / delta Z ( #14789 )
2019-07-31 20:50:23 -05:00
Scott Lahteine
c2b319360d
Remove extra pragmas
2019-07-30 20:19:47 -05:00
Acenotass
659d06d9b9
M48 menu item, result to status ( #14772 )
2019-07-30 02:31:14 -05:00
rafaljot
e44fccf3d2
Add support for M575 ( #14757 )
2019-07-30 02:30:00 -05:00
Scott Lahteine
eae543adf3
Apply HAS_SPI_LCD as needed
2019-07-29 18:55:05 -05:00
Giuliano Zaro
290466578f
Adafruit Grand Central M4 ( #14749 )
2019-07-28 14:48:29 -05:00
Scott Lahteine
17abb94532
Whitespace patch
2019-07-28 01:29:23 -05:00
Ludy
97e9c95f47
Fix & clean up ExtUI ( #14748 )
2019-07-27 22:44:05 -05:00
Scott Lahteine
a3dc1e461b
Update M7219 comment, tweak parameter code
2019-07-24 21:09:51 -05:00
Scott Lahteine
1088846cae
Cosmetic updates from 14044
2019-07-24 01:52:36 -05:00
InsanityAutomation
dc6fa04f68
Fix single nozzle temp change, do slower extra prime ( #14696 )
2019-07-21 19:33:37 -05:00
Tim Moore
e5aa453293
Add support for 2 Neopixel strips ( #14667 )
2019-07-20 23:14:09 -05:00
Jason Smith
f2c5740d06
Add 'E' argument to G34 to allow stowing between probes ( #14533 )
...
- Use the return value from probe_pt during `G34`
Eliminate the assumption that probe_pt leaves current_position set to values relative to the probed points. This is not always true, depending on the raise_after argument.
- Add '`E`' argument to `G34` command allowing stowing between each probe.
2019-07-17 04:23:19 -05:00
InsanityAutomation
b8cc61262f
Finish G12, update Nozzle::clean ( #14642 )
2019-07-17 04:23:19 -05:00
Marcio Teixeira
27c487bab7
Print progress enhancements ( #14647 )
2019-07-17 03:14:44 -05:00
Scott Lahteine
eaf1c0954e
Update some precompiler tests
2019-07-14 13:09:16 -05:00
InsanityAutomation
ce02c6cee2
Variable tool change purge ( #14618 )
2019-07-14 11:40:58 -05:00
Marcio Teixeira
cbe4bf2ba8
Fix process_injected_command undefined behavior ( #14602 )
2019-07-14 10:12:48 -05:00
InsanityAutomation
d2f20803ba
Allow nozzle clean with limited Axis ( #14619 )
2019-07-14 06:58:53 -05:00
Robby Candra
e96468566d
Fix Z_PROBE_END_SCRIPT in ABL ( #14621 )
2019-07-14 04:28:38 -05:00
scotthsl
19b24a349c
Fix M412 without HOST_ACTION_COMMANDS ( #14591 )
2019-07-12 04:23:33 -05:00
Scott Lahteine
ed0e6afacb
Apply LIMIT macro
2019-07-10 03:35:39 -05:00
Bob Kuhn
dc02d0720d
Pins Debugging for STM32 — NEEDS TESTING ( #14309 )
2019-07-05 22:08:06 -05:00
Scott Lahteine
fe02241044
NONE on combined options
2019-07-05 18:20:24 -05:00
Scott Lahteine
750a16ad38
Fix MIN/MAX function collision with macros
2019-07-05 18:14:02 -05:00
Scott Lahteine
b6546ea33a
Add include guards to some headers
2019-07-05 04:02:08 -05:00
Tim Moore
eb6dec03bd
Simplify power supply naming logic ( #14488 )
...
Co-Authored-By: Tim Moore <tim.moore@lightbend.com>
Co-Authored-By: AnHardt <github@kitelab.de>
2019-07-05 01:58:34 -05:00
Scott Lahteine
720bc7c00b
Named indices for Temperature class ( #14479 )
2019-07-02 08:39:55 -05:00
GMagician
82ecaa767e
Remove unused code in M100
...
queue.buffer is in bss area, start_free_memory starts from heap then above of bss
2019-07-01 20:38:49 -05:00
Scott Lahteine
d16954dc88
Make KEEPALIVE_STATE a scoped auto-restore ( #14446 )
2019-06-29 22:49:50 -05:00
Marcio Teixeira
e6cf7860e8
Improve ExtUI, fix compiler errors, warnings ( #14441 )
2019-06-29 00:23:57 -05:00
Darsey Litzenberger
946f6bdeaa
Disable leveling during G12 ( #14385 )
2019-06-28 19:23:42 -05:00
Scott Lahteine
4d5a1984e2
Simplified fan handling code
2019-06-28 18:50:32 -05:00
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
2019-06-27 23:58:16 -05:00
Scott Lahteine
d7d80418ae
Singleton for cutting tools ( #14429 )
2019-06-27 23:06:49 -05:00
Tim Moore
81209f5310
'M105 R' to report redundant temp sensor ( #14324 )
2019-06-27 21:29:52 -05:00
InsanityAutomation
ce656e2a26
Update G-code injection, sub-commands ( #14418 )
2019-06-27 15:07:45 -05:00
Scott Lahteine
2580104c8b
Revert recent probe changes
...
- Revert "Fix FIX_MOUNTED_PROBE compile error (#14393 )"
- Revert "Fix G28 with non-BLTouch probes (#14381 )"
- Revert "Fix BLTOUCH deploy/stow in HS mode (#14352 )"
- Revert "Apply needed BLTouch patch (#14233 )"
Co-Authored-By: AnHardt <github@kitelab.de>
2019-06-26 05:33:43 -05:00
BigIronGuru
9f136a7c67
Low-priority homing in G34 ( #14391 )
2019-06-26 03:52:01 -05:00
Scott Lahteine
49627069a5
Shorthand for home-after-deactivate
2019-06-26 03:47:55 -05:00
Marcio Teixeira
8e23e9b16c
Fix FIX_MOUNTED_PROBE compile error ( #14393 )
2019-06-25 04:55:29 -05:00
Scott Lahteine
cf762d2c73
Fix enqueueing bug
2019-06-23 23:02:07 -05:00
BigIronGuru
12d21e642f
Update G34 for non-BLTouch probes ( #14380 )
2019-06-23 20:55:43 -05:00
BigIronGuru
5986194c36
Fix G28 with non-BLTouch probes ( #14381 )
2019-06-23 20:53:05 -05:00
InsanityAutomation
aa0383a83b
Enhance IDEX toolchange auto-return w/ no park, full control ( #14117 )
2019-06-23 20:00:48 -05:00
Scott Lahteine
17778d1c2a
Fix M916-918 subcommands
2019-06-22 16:18:42 -05:00
Tanguy Pruvot
be69ec5b32
Fix PLR/M43 warnings ( #14333 )
2019-06-22 00:48:47 -05:00
BigIronGuru
9c83135d40
Only home Z at the end of G34 ( #14353 )
2019-06-22 00:43:33 -05:00
LinFor
0f6f5132c1
Fix variable conflict in ok_to_send ( #14351 )
2019-06-21 19:04:30 -05:00
InsanityAutomation
a9acd2f497
G34 configurable angle limit ( #14321 )
2019-06-20 21:18:36 -05:00
Scott Lahteine
4df4c47994
Add TMC2209 support ( #14249 )
2019-06-20 15:47:50 -05:00
Scott Lahteine
4c872a01f2
G-code queue singleton, front injection ( #14236 )
2019-06-19 00:00:19 -05:00
InsanityAutomation
bf64dd4db6
Improve G34, M422 (Z alignment) ( #14142 )
2019-06-18 07:02:18 -05:00
Scott Lahteine
3f6424076b
Update M524 description
2019-06-18 05:04:55 -05:00
Scott Lahteine
cf3631226b
Document G-code M290
2019-06-18 04:53:31 -05:00
Scott Lahteine
903863dcb6
Suppress some warnings
2019-06-15 17:47:59 -05:00
mb300sd
bf8bfb5c66
Add Coolant Control M7/M8/M9 ( #10745 )
2019-06-13 18:43:11 -05:00
Scott Lahteine
bc2ff9b41f
Fix M605 bugs
...
Fixes #14191
2019-06-12 20:01:08 -05:00
Scott Lahteine
04715e04ee
Minor M100 cleanup
2019-06-12 06:14:40 -05:00
Scott Lahteine
356410dcfc
Move crc16 function to libs
2019-06-12 06:14:39 -05:00
Scott Lahteine
1ef95013f0
Update Marlin.cpp includes, defines
2019-06-11 07:30:51 -05:00
Tanguy Pruvot
8cf5504a34
Redundant but faster recovery.enabled test ( #14175 )
2019-06-10 23:33:35 -05:00
Scott Lahteine
0ca2073625
ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED => SD_ABORT_ON_ENDSTOP_HIT
2019-06-10 17:28:35 -05:00
Robby Candra
5ca8d51e12
Ability to insert G-code in front of queue ( #14229 )
2019-06-08 05:23:53 -05:00
Ludy
8e8e48f900
Fix links in templates, gcode.h ( #14160 )
2019-05-28 21:39:55 -05:00
Minims
32afe1d102
Fix TOOLCHANGE_ZRAISE warning ( #14156 )
2019-05-27 19:51:29 -05:00
Scott Lahteine
3c179bbd47
Simpler G28 home axis conditions
2019-05-26 16:26:55 -05:00
Scott Lahteine
352734494b
Reduce some M43 strings
2019-05-26 16:21:28 -05:00
Scott Lahteine
b14cc0d7c5
Remove extra gcode. prefix
2019-05-26 16:18:45 -05:00
Scott Lahteine
c6d39319de
Fix some whitespace
2019-05-26 16:18:43 -05:00
InsanityAutomation
212860f090
Always change to Tool 0 on G29 ( #14146 )
2019-05-26 14:53:21 -05:00
Bryan
0ef5d667b6
Fixed M43 parameter bug ( #14099 )
2019-05-25 18:23:25 -05:00
teemuatlut
1c86fbc60b
TMC updates, capture LCD changes ( #14074 )
2019-05-25 18:22:12 -05:00
Scott Lahteine
fc52c43a26
Some documentation updates
2019-05-24 16:30:44 -05:00
Tanguy Pruvot
24b1818245
Secure STM32F1 servo code and M280 detach ( #14085 )
2019-05-22 16:57:19 -05:00
Scott Lahteine
aeec9ef76b
Update backlash code
2019-05-20 21:34:08 -05:00
Tanguy Pruvot
87e7193259
Fix M226 sign warning (for most platforms) ( #14049 )
2019-05-18 16:15:48 -05:00
FanDjango
85fb33a060
BLTOUCH tweaks, new v3.1 command ( #14015 )
2019-05-17 19:10:18 -05:00
Scott Lahteine
785c01f2bc
Use US spelling of 'behavior'
2019-05-15 01:49:17 -05:00
Sam Lane
7f1e0c5670
Update EXTRA_LINADV_K with Marlin bit macros ( #13993 )
2019-05-15 01:07:07 -05:00
Robby Candra
7b78a20fb7
Fix: Debug Memory Dump size ( #13957 )
...
* Fix Memory Dump size
* Fix Compile error on Memory Dump
2019-05-11 11:44:39 -05:00
Giuliano Zaro
f22c9a1ae1
Fix G-code parser with MMU2 ( #13951 )
2019-05-10 19:57:15 -05:00
Bob Kuhn
fa3739aa23
M100: LPC1768 and DUE compatibility ( #13962 )
2019-05-09 21:57:44 -05:00
Scott Lahteine
ad4ffa1d2f
Use C++ language supported 'nullptr' ( #13944 )
2019-05-09 11:45:55 -05:00
InsanityAutomation
6811e2921b
BLTouch v3 / 3DTouch Interoperability & performance ( #13814 )
2019-05-07 21:25:54 -05:00
Ludy
a504366138
Fix probe fan compiling error ( #13930 )
2019-05-07 14:14:12 -05:00
Stephan
483822f3aa
Fix some THERMAL_PROTECTION_CHAMBER issues ( #13678 )
2019-05-06 19:55:01 -05:00
doggyfan
23a8707ef1
Configurable Thermistor ( #13888 )
2019-05-06 18:51:06 -05:00
Ludy
f96eaad1ea
Unused variable cleanup ( #13917 )
2019-05-05 22:01:04 -05:00
Giuliano Zaro
e2a77ed881
Bring chamber temp to completion ( #13837 )
2019-05-04 22:51:47 -05:00
Marcio Teixeira
15357af67c
Backlash cleanup ( #13659 )
...
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
2019-05-03 23:53:15 -05:00
Robby Candra
c369477cb0
Fix bug: diveToFile breaks M23 ( #13865 )
2019-05-02 15:54:24 -05:00
Thomas Moore
ee243e4edf
Fix mixing extruder filament change ( #13803 )
2019-05-01 21:55:58 -05:00
InsanityAutomation
610fb46683
Fix some ExtUI issues ( #13799 )
2019-04-26 09:32:01 +02:00
Bob-the-Kuhn
73726d56b3
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-25 12:06:01 -05:00
Scott Lahteine
5051909c3c
Update do_select_screen for general use ( #13800 )
2019-04-24 10:13:44 -05:00
Giuliano Zaro
e2dd2268e8
Add a Z raise-between-probes to G34 ( #13791 )
2019-04-23 13:40:55 -05:00
Scott Lahteine
0c4d3e6622
Improve M906 description
2019-04-22 13:48:02 -05:00
Bob-the-Kuhn
520585c5ed
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-17 15:34:29 -05:00
Scott Lahteine
92ed9a2bb6
Fix is_M29
...
Followup for #13013
2019-04-15 23:47:06 -05:00
Scott Lahteine
9992c424f5
Patch G92.9 flags
...
Followup to #13703
2019-04-15 20:26:40 -05:00
Msq001
455ee23499
Fix, improve Power Loss Recovery ( #13703 )
...
- Save and restore workspace offsets
- Add retract and purge (hidden) options
- Always restore axis relative modes
- Use added `G92.9` to do position restores
2019-04-15 18:53:39 -05:00
InsanityAutomation
aa0f7afbe6
Fix call to uninitialized PWM pin, heater 2 overlap ( #13674 )
2019-04-15 15:57:34 -05:00
Bob-the-Kuhn
9dd4252b39
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-12 22:07:12 -05:00
Scott Lahteine
7e58d33a2e
Update some headers
2019-04-12 13:04:04 -05:00
Jamie
509dc283f2
Restore declarations of G53-G59 ( #13654 )
2019-04-11 13:51:05 -05:00
InsanityAutomation
4900c28bf6
Fix IDEX tool-change, and more ( #13614 )
2019-04-09 18:33:40 -05:00
Scott Lahteine
5e38d70697
Fix M217 report label, general cleanup
2019-04-08 18:18:08 -05:00
Scott Lahteine
fae2b7edc3
Update MMU2 code style
2019-04-08 18:13:42 -05:00
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
2019-04-08 18:13:41 -05:00
Bob Kuhn
9a56d90150
Fix M43 on LPC176x ( #13587 )
...
The real fix. PR #13568 was wrong.
2019-04-06 18:06:07 -05:00
Roxy-3D
9cee81d47e
Option to show babysteps total since G28 ( #13580 )
2019-04-06 18:04:34 -05:00
Scott Lahteine
cf12fc8366
Expand on serial debugging ( #13577 )
2019-04-05 20:02:46 -05:00
Marcio Teixeira
bf7b28b456
Fix incorrect variable name ( #13585 )
2019-04-05 19:04:46 -05:00
Scott Lahteine
cacec5764a
Clean up whitespace
2019-04-04 22:12:02 -05:00
Marcio Teixeira
27a4927ed1
Add option to move away from endstop after homing. ( #13557 )
...
Add option to move away from endstop after homing.
- Add `ENDSTOP_BACKOFF` for printers with a recessed Z home button (Lulzbot TAZ 6).
- Also prevents chattering when sensorless homing with axes against bumpers.
2019-04-04 02:47:19 -05:00
Scott Lahteine
af92ee9dd6
No PLR include needed in queue.cpp
2019-04-03 18:26:31 -05:00
Scott Lahteine
2aa35e95af
More G26 arc cleanup
...
Followup to #13531
2019-04-03 16:03:21 -05:00
Scott Lahteine
a0a5c31c05
Power-Loss initialization fix ( #13553 )
...
- Only save to PLR file on moves with E and X or Y
- Save to PLR after any long-ish Z downward move
2019-04-01 17:52:45 -05:00
InsanityAutomation
fbc7b51a24
Use NO_FETCH for Dual X G28 ( #13539 )
2019-04-01 17:48:21 -05:00
InsanityAutomation
4961d8aa3e
Update G28.cpp ( #13539 )
2019-03-31 19:50:40 -05:00
ManuelMcLure
04086fc455
Minor optimization to ARC_SUPPORT code ( #13531 )
2019-03-30 22:29:37 -05:00
Robby Candra
a3f67acd6d
Fix Power Loss Recovery file delete ( #13522 )
2019-03-30 13:14:58 -05:00
Marcio Teixeira
5679fae11e
UltraLCD enhancements (lower fan resolution, backlash menu) ( #13519 )
2019-03-29 14:07:43 -05:00
Marcio Teixeira
c6466c23fe
Silence signed/unsigned comparison warning. ( #13508 )
2019-03-29 13:33:45 -05:00
InsanityAutomation
7240e3a68f
Allow G26 with no heated bed ( #13511 )
2019-03-29 13:32:43 -05:00
Sam Lane
e3ab54753b
Add extra Linear Advance factors ( #13490 )
2019-03-26 04:02:27 -05:00
Thomas Moore
263f8edff8
Disable volumetric extrusion during G26 ( #13479 )
2019-03-25 22:41:52 -05:00
Chris Pepper
aacc1148b0
Fix M106 for index > extruders ( #13473 )
2019-03-24 20:03:53 -05:00
7eggert
d96f7d6068
Minimum segments for G2/G3. Better for small arcs. ( #13466 )
2019-03-24 19:53:47 -05:00
Sam Lane
a8fa275dc6
Fix Fan 0 responding to all fan speeds ( #13444 )
2019-03-23 23:00:31 -05:00
InsanityAutomation
5b2c37d6c1
Followup to BLTouch ( #13422 )
2019-03-18 16:31:11 -05:00
InsanityAutomation
3fb8489ae3
EXTUI and UBL compilation fixes ( #13420 )
2019-03-17 07:57:54 -05:00
Scott Lahteine
b376c7e374
Group DISABLED items
2019-03-17 07:56:35 -05:00
InsanityAutomation
691e5c3bb8
BLTouch V3.0 support ( #13406 )
2019-03-17 05:57:25 -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
InsanityAutomation
09eb30dc05
IDEX Mirror mode based on Formbot / Vivedino Symmetric mode ( #13404 )
2019-03-15 22:46:27 -05:00
Scott Lahteine
9a515cbd32
Fix Pause Print message and behavior ( #13394 )
2019-03-14 02:26:07 -05:00
Scott Lahteine
f5bcc00570
Unify debugging output with debug_out.h ( #13388 )
2019-03-14 02:25:42 -05:00
Andrei Pozolotin
cc8a871705
Add capability string CHAMBER_TEMPERATURE ( #13391 )
...
Reference: #13380
2019-03-13 18:09:22 -05:00
Scott Lahteine
67bee06e43
No patch needed for non-libmaple analogWrite
...
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
2019-03-13 07:21:10 -05:00
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins ( #13383 )
2019-03-13 06:51:15 -05:00
Scott Lahteine
87162658c4
Fix and improve software endstops ( #13386 )
2019-03-13 05:48:36 -05:00
InsanityAutomation
c03df89921
ExtUI Mesh Leveling Extensions ( #13363 )
2019-03-13 00:45:52 -05:00
InsanityAutomation
050eac03af
Single X Duplication Extension ( #13373 )
...
* Multi-nozzle selective duplication
* Use a bit-mask, reduce stepper_indirection.h size
* Tweak the multi-nozzle duplication description
* Use 'S' as a bool in M605
* Add HAS_DUPLICATION_MODE conditional
* Remove '_MODE' from the option name
* M605 in the style of Stacker M280
* Also include direct mask style (P)
2019-03-13 00:42:50 -05:00
Scott Lahteine
d63da4592d
Tweak to SCARA_move_to_cal
2019-03-12 22:06:50 -05:00
Scott Lahteine
d94e077901
Apply HAS_HOTEND_OFFSET where needed
2019-03-11 20:58:27 -05:00
Scott Lahteine
e52bcc9408
Limit top bed temp to BED_MAXTEMP - 10
...
The chances of a 10° overshoot is pretty minimal.
2019-03-11 16:32:34 -05:00
Michiel Baird
b824a517aa
Add G38.4 and G38.5 ( #13348 )
2019-03-10 17:22:09 -05:00
Tobias Frost
60e82e3929
Send notifications to ExtUI for M0/M1 ( #13344 )
...
- Send notifications to ExtUI for M0/M1
- wait_for_user can be non-volatile (not changed by interrupt)
C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
2019-03-09 14:20:37 -06:00