Josef Larsson
379348487e
Removed malplaced comment.
9 years ago
Scott Lahteine
582cd780cd
Fix compile error with `*_DUAL_STEPPER_DRIVERS`
- Patch up macros in stepper.cpp
9 years ago
Josef Larsson
9b3462f73f
Refactor SCARA calibration. Save some lines of code and possibly ROM.
9 years ago
Scott Lahteine
691e753cc3
Don't add home offsets in G29
- Address #1262 by leaving values as set
- Rename `add_homing` to `home_offset`
9 years ago
Scott Lahteine
19df90622b
Include Conditionals.h file in update
9 years ago
Scott Lahteine
2c9bd15625
Move LCD items to `Conditionals.h`
- `Conditionals.h` is included twice, setting LCD values the first time
9 years ago
Scott Lahteine
3703694e30
Fix temperature min/max test
- Base tests on all thermistors/thermocouples, not just heater 0
9 years ago
Edward Patel
3d0a060a7a
Added G29 command
9 years ago
Scott Lahteine
af14c684b5
Minor optimizations to planner code
- Prefetch values used more than once
9 years ago
Scott Lahteine
13fbf42d95
Cleanup of planner code
- Use named axis indexes, `X_AXIS` etc.
- Replace `block.steps_A` with block.steps[A]`
- Replace `A_segment_time` with `segment_time[A]`
- Add `A_AXIS`, `B_AXIS` for `COREXY` axes
- Conditional compile based on `EXTRUDERS`
- Add BLOCK_MOD macro for planner block indexes
- Apply coding standards to `planner.h` and `planner.cpp`
- Small optimizations of planner code
- Update `stepper.cpp` for new `block` struct
- Replace `memcpy` with loops, let the compiler unroll them
- Make `movesplanned` into an inline function
9 years ago
AnHardt
64e3d33893
Fix shrinked menucode
by updating 'encoderPosition' in END_MENU() line 1.
9 years ago
AnHardt
8c5bb38748
Removed now unneded FONT_STATUSMENU
9 years ago
Scott Lahteine
2176a22d42
Fix count_direction initializer
- Addressing #1625
9 years ago
Scott Lahteine
5644ad6809
Fix hiliting of edit items
9 years ago
Scott Lahteine
a1c240b0a4
Delta supports some auto bed leveling options
9 years ago
Edward Patel
5112cf8422
Added comment for the EEPROM storage
9 years ago
Scott Lahteine
b6d381f863
Divide up Conditionals to get LCD items early
9 years ago
AnHardt
e85061d20d
Added changes to the 'new' Configuration.h s
9 years ago
Scott Lahteine
33c7c6e11d
Conditionals.h requires Arduino.h
9 years ago
Scott Lahteine
8ade04b78e
Felix and Hephestos configs
- Not sure why these are showing as all new
9 years ago
Scott Lahteine
670006b919
Remove invariant code from Configurations
- Add `Conditionals.h` with calculated configuration values
- Add `SanityCheck.h` with checks for configuration errors
- Remove equivalent code from all configurations
- Move error checks from some sources to `SanityCheck.h` also
- Fix initialization of count_direction in stepper.cpp
9 years ago
Edward Patel
c87faa69ed
Shortened mesh_plan_buffer_line()
9 years ago
AnHardt
fa889cd6e1
Beautivy statusscreen
by shifting things some pixels around
9 years ago
Scott Lahteine
7279e4f82f
Small code tweaks re lcd.print
9 years ago
Scott Lahteine
90ba61b9b8
Include indicator for new drawmenu_generic
In the new method we pass the character that should be used for
selected state, not the character to print always.
9 years ago
Scott Lahteine
15d29efad5
Pass sel to lcd_implementation_mark_as_selected
- Pass selected state directly to lcd_implementation_mark_as_selected
- Rename sel function parameter
- Include a minor fix for SdBaseFile.h
9 years ago
alexborro
e650d4044e
Fix "Stop Print" function in the LCD menu
When one hit "Stop Print" option in LCD menu, the command buffer was not
cleared. The printer keep moving until the buffer has been emptied.
Actually I could not clear the command buffer as well.. I don't know
why, it doesnt work as expected.
I need to implement a routine inside Stepper ISR to handle such
situation.
9 years ago
AnHardt
eff6a2bd2e
Clean out a warning
in ultralcd_implementation_hitachi_HD44780.h lcd_print( about array index.
9 years ago
AnHardt
ae01a6b5f2
Make use of codepos.
Saves one addition.
Needs one pointer on the stack.
Don't know if this is a go trade.
9 years ago
Edward Patel
28c91deb5c
EEPROM saving of z_values.
Tried to make it a little intelligent.
9 years ago
alexborro
4521f6655b
Restore "S" parameter of M204 for retrocompatibility.
9 years ago
alexborro
5ddb8d94e2
Update Documentation related to M204
9 years ago
AnHardt
f8c4d43886
delta[3] is used with SCARA
Shoot in the dark.
9 years ago
AnHardt
72a9fed4fb
codepos not used in gcode_M28()
Got:
Marlin_main.cpp:2567: warning: unused variable 'codepos'
Needs revision.
Don't now how this should look like.
9 years ago
AnHardt
b94dd33641
G4 could wait for an undefined time
Got:
Marlin_main.cpp:1689: warning: 'codenum' may be used uninitialized in this function
And indeed codenum is undefined when no parameter is given.
9 years ago
AnHardt
e90985a4e8
delta[3] not used when DELTA not defined.
got:
Marlin_main.cpp:387: warning: 'delta' defined but not used
Compiles cleaner when definition is removed.
9 years ago
AnHardt
5099b86ad4
lcd_autostart_sd() has two conditions.
got:
ultralcd.cpp:408: warning: 'void lcd_autostart_sd()' defined but not used
9 years ago
AnHardt
5d81c779cc
lcd_control_retract_menu() is conditional.
Got:
ultralcd.cpp:64: warning: 'void lcd_control_retract_menu()' declared 'static' but never defined
9 years ago
AnHardt
450b89e63c
Negative times are unlikly
While bunting an other bug I stumbled across:
ultralcd.cpp:1250: warning: comparison between signed and unsigned
integer expressions
Changed to the type of lcd_next_update_millis.
9 years ago
AnHardt
d1658eebfc
Decrease KILL_DELAY
Users hat to press kill-button for unexpexted lon times.
See #1593
9 years ago
Wurstnase
00adb2a6c1
optional parameters must be named when ignoring order
9 years ago
Edward Patel
0d43898a22
Remove of mesh_plan_buffer_line parameter reference (e)
9 years ago
wurstnase
05333f61b7
fix macro
9 years ago
AnHardt
1883e1bb60
Applied thinkyheads corrections from 2015-03-17
9 years ago
AnHardt
be79235ef2
Add new (cleaner) Marlin font
with sources in /fonts
9 years ago
alexborro
cb676cdf39
Fix CoreXY homing bug introduced by PR #1606
The Check Endstop logic must be:
if (current_block->steps_x != current_block->steps_y || (TEST(out_bits,
X_AXIS) == TEST(out_bits, Y_AXIS)))
if (TEST(out_bits, X_HEAD))
not
if (TEST(out_bits, X_HEAD) && (current_block->steps_x !=
current_block->steps_y || (TEST(out_bits, X_AXIS) == TEST(out_bits,
Y_AXIS))))
Same applies for Y axis.
9 years ago
AnHardt
8a29dd4839
Cleaned typo in dogm_lcd_implementation.h
9 years ago
AnHardt
7e69f72db6
Moved font directory. Updated README.fonts
9 years ago
AnHardt
08e4651ece
Corrected cyrillic font again
Thank you @Nprod.
9 years ago
AnHardt
e6cb8ee188
Remove 6x9 font
in dogm_lcd_implementation.h
by using standard font and
shifting down temperature displays by one pixel
Saves 2300 bytes.
9 years ago