Commit Graph

103 Commits (93ba5bddd76b9dc2b26659cf9cce5e456f540737)

Author SHA1 Message Date
Scott Lahteine a8b6b6a128 Merge pull request from thinkyhead/rc_rename_hpb
Replace PLA/ABS preheating with generic
AnHardt faac2bcfdb Add a kill-screen
Scott Lahteine 1026e5b071 Replace PLA/ABS preheating with generic
Scott Lahteine 2ee4e4f791 Make wait_for_heatup volatile
Scott Lahteine 160a2be117 Change cancel_heatup to wait_for_heatup
Petr Zahradnik 43ff0ce35f Rewritten FILAMENT_CHANGE_ENABLE feature
AnHardt b4fedec0d1 Show bootscreen later
Init display and show bootscreen later, but init display in `kill()`
to init outputs before the bootscreen delays but being able to display
kill errors.
Scott Lahteine 45ea8749d3 Wrap all items depending on ULTIPANEL
João Brázio 2c34ec2bac
Closes : Compilation error with BEEPER_PIN -1
Scott Lahteine b23f710034 Cleanup and naming for num-to-string functions
Scott Lahteine efa7209acf Improved LCD contrast handling
Based on  from @eboston
Scott Lahteine c6f1337f5c NOOP macro for do-nothing macros
Scott Lahteine 4f04bf7fe8 Show steps done in the babystep display
Scott Lahteine 7bb15a1c57 Consolidate REPRAPWORLD_KEYPAD definitions
Scott Lahteine 782c598e66 Use ftostr43 with '+' option in MBL Z adjuster
Scott Lahteine fcedfd6e99 Clean up num2str functions, extend ftostr43
Scott Lahteine f543aaa54e Apply standard pin test to buttons
This is the easiest way to make button pin testing consistent without
renaming all the button pins. Just make a macro especially for testing
if button pins are set, since they are named consistently in the pins
files.
Scott Lahteine b60ea95adf Keep blinking limited to LCD_UPDATE_INTERVAL
Scott Lahteine 0da744b7b0 Further cleanup of comments, partial Doxygen-style
Following up on 
jbrazio 5e5d250832 Added gplv3 header to all Marlin files
Scott Lahteine c97c2dcaf7 Use const parameters instead of static casting
Alternative fix to 
Scott Lahteine cc291aeb3c Move definition of "blink" to main ultralcd file
Scott Lahteine ff13070b59 Use _BV macros, patch up others
AnHardt 8d1eeff021 Fix status LEDs update when reinitializing the display
Fix status LEDs update when reinitializing the display

By using the regular update function during init.

Fixing 
AnHardt be7167ed97 Change XY formatting on LCD (PR#2740)
According to  negative values for XY at or below -100 are displaying incorrectly, dropping the first digit. Deltas can easily have XY values in this range. This PR adds a function to display floats/ints formatted like `_123`, `-123`, `_-12`, or `__-1` as appropriate and applies it to the XY coordinates on Hitachi displays. It also moves the Z value to the right to be consistent with the XY formatting.
Scott Lahteine 0c7f7ebcfb Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
Richard Wackerbarth 29b456ae07 Suppress some compiler warnings
Scott Lahteine 0d8989fc14 Overridable Options - Part 7 (PR#2559)
Apply `ENABLED` / `DISABLED` macros to LCD-related files.
AnHardt 722829b058 Move buzzing code to buzzr.h & buzzer.cpp (PR#2307)
at least the lcd independent part from Marlin_main.cpp.
AnHardt 6ab7b560af Rework buzzing (PR#2296)
by:
Moving HAS_LCD_BUZZ macro to Coditionals.h
Renaming HAS_LCD_BUZZ to HAS_BUZZER to make clear is has nothing to do with the lcd.
Removing the ULTRALCD condition.

Moving declaration of lcd_buzz() out of the ULTRA_LCD block in ultralcd.h
Moving definition of lcd_buzz() out of the ULTIPANEL block in ultralcd.cpp
Renaming lcd_buzz() to buzz() to make clear is has nothing to do with the lcd.

All buzzing code is now only dependent on the existence of a BEEPER-pin or the definition of a LCD_USE_I2C_BUZZER.

To do: Check the conditions for the BEEPER-pin in all pin-files.
Scott Lahteine d4c74b8f8c Don't apply M428 if an error occurs
- Also move audio feedback into the command
- Added shorthand for `lcd_buzz` availability
Scott Lahteine 7295640f44 Remove extraneous ;
Scott Lahteine 0d8c00d3f6 Define lcd_hasstatus for no lcd also
Scott Lahteine ce142afdda G4 shows status message only if no message is set already
- Address issue raised in 
Scott Lahteine ccddc280be Apply three more commits
Scott Lahteine 0e8182bbf2 Additional pin tests, cleanup
AnHardt 831016b09f Added new - changed entries from Fix up LCD_PROGRESS_BAR
for when no LCD is defined.
Fix for .
Scott Lahteine 5519882eea Fix up LCD_PROGRESS_BAR
- Some messages should not expire with `PROGRESS_MSG_EXPIRE`.
- Simplify conditional for progress bar with sanity checks.
- Rename `messageTick` to `expireStatusMillis` and make it the expire
time.
AnHardt c481c3b180 Move variable blink from ultralcd.h to dogm_lcd_implementation.h
to avoid warnings about unused blink.

Concentrate definitions of variables in dogm_lcd_implementation.h to one place.

Make only local used variable currentfont static.
Scott Lahteine 19d418cd6a Fix up the code to eliminate warnings
Scott Lahteine b6d381f863 Divide up Conditionals to get LCD items early
Scott Lahteine c37f7d15c9 - Rename WRITE_E_STEP for consistency
- Add BIT and TEST macros
- Add _APPLY_ macros to stepper.cpp to help with consolidation
- Consolidate code in stepper.cpp using macros
- Apply standards in stepper.cpp
- Use >= 0 instead of > -1 as a better semantic
- Replace DUAL_Y_CARRIAGE with Y_DUAL_STEPPER_DRIVERS
AnHardt 6cdcd6c6d1 Fix iss#1492
Introduced lcd_strlen() and lcd_strlen_P().
Replaced the old functions where necessary.
Reworked language_ru.h.

Speeded up test for zero length string in cardreader.cpp
Scott Lahteine 326b925557 DOGLCD and LCD_PROGRESS_BAR to coexist
Small changes (and formatting to confuse the diff’er) which first
allows DOGLCD and LCD_PROGRESS_BAR to be enabled in tandem, then a
#warning (rather than error) that the extra progress bar / message
options don’t apply to graphical displays at this time. This leaves
open perhaps combining the progress bar and message area in some future
(or forked custom) graphical LCD display arrangement (at which time the
relevant variables may be moved into ultralcd.cpp with externs in
ultralcd.h). I also added a conditional error that the progress bar and
the filament display may not work well together.
Bo Herrmannsen a18b625534 Merge pull request from wgm4321/Development
Add Filament menu and add Filament/Retract settings to config store.
Scott Lahteine e7db8ee9e5 ftostr32np > ftostr32sp
sp=space-padded, similar to: ns=no-sign
Scott Lahteine a2109cb492 Patch to make Z look more like X and Y on UltraLCD
wgm4321 cb12161191 Add Filament menu and add Filament/Retract settings to config store.
Scott Lahteine e69313fc2b Reduce dogm lcd code
Bo Herrmannsen 31ca3de72f Merge pull request from neildarlow/Marlin_v1
Activate LiquidTWI2 device detection and space-pad LCD status line.