329 Commits (2af62a5d8df132a241cb112d59930724f05fb110)

Author SHA1 Message Date
Christopher Pepper 4b16fa3272 Implement HAL and apply macros across code-base
Implement AVR Platform
7 years ago
Scott Lahteine b0173ccdb9 Drop extra initializers for vars initialized by EEPROM code 7 years ago
Scott Lahteine 72de280c1e BARICUDA valve pressure consistently uint8_t 7 years ago
Scott Lahteine a4a587a897 Fix spelling of Průša 7 years ago
Scott Lahteine a9f8e518bf Fix FILAMENT_WIDTH_SENSOR infinite loop issue
Addressing #6992 and #5851
8 years ago
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL 8 years ago
Scott Lahteine 4857a3ba48 Formatting and spelling 8 years ago
Scott Lahteine 57a51fd5db Tweak some else clauses 8 years ago
Scott Lahteine e94f79ccea Patch some serial macros 8 years ago
oldmcg 9f295581f0 Ubl delta fixes and improvements (#6941)
* Change all direct changes of ubl.state.active to
  set_bed_leveling_enabled() which handles apply/unapply
  leveling to maintain current_position consistency.

Fix invalidation of UBL mesh to invalid unreachable
  mesh points as well (delta corners).

Fix UBL_DELTA unapply_leveling logic and when
it gets applied, including fade_height changes.

Add optional M114 D for detailed position information,
disabled from compilation by default (M114_DETAIL).

* UBL_DELTA raw and inline kinematics

* UBL planner fall through fix

* consistent variable names

* Cleanup orphaned code and whitespace changes.
Use _O2.

* compile warnings cleanup

* Remove redundant #ifdef condition
8 years ago
Scott Lahteine a3645ec921 Reference op with variable name 8 years ago
Scott Lahteine f4028fe088 New GCode Parser - Implementation 8 years ago
Scott Lahteine a7fb55ea6d Use GRID_MAX_POINTS. Some formatting 8 years ago
Scott Lahteine 0696dda470 Cleanups to UBL_DELTA 8 years ago
oldmcg 91841d75c9 UBL_DELTA (#6695)
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
8 years ago
Scott Lahteine 081bf1f879 Patch #else / #endif comments 8 years ago
Scott Lahteine a1e04942a2 Cleanup to software PWM variables 8 years ago
Scott Lahteine 2658cc707a Treat temperature as integer, when possible 8 years ago
Scott Lahteine ed81e9b3d3 Adjust leveling conditionals 8 years ago
Scott Lahteine 8002672938 Fixes for DUAL_NOZZLE_DUPLICATION_MODE 8 years ago
Scott Lahteine d480b6f75a Enable E1 stepper for DUAL_NOZZLE_DUPLICATION_MODE 8 years ago
Scott Lahteine 68773f4486 Simplify stepper macros by renaming enable/disable macros 8 years ago
james94jeans2 5b9476fe78 Added z_fade_height to EEPROM-Settings
Firmware was forgetting the z_fade_height in Planner, set by M420 Z<f>,
after each reset or loading settings from EEPROM. Added the float
z_fade_height to EEPROM-Storage, now remembers the value.
8 years ago
Scott Lahteine 832064e4f2 Implementation changes to support 5 extruders 8 years ago
Scott Lahteine 79d42d87c1 Syntax cleanup 8 years ago
Scott Lahteine 25a6bfa7ed Add and apply WITHIN macro 8 years ago
Scott Lahteine 0e71e7b2fb Cleanup to planner.cpp 8 years ago
Scott Lahteine b5711a99a2 Patches to bring UBL closer to compliance 8 years ago
Scott Lahteine cd882b88db #if defined => #ifdef / PIN_EXISTS 8 years ago
Scott Lahteine 4c7f14752a Add disable_e_steppers function 8 years ago
Scott Lahteine c15c65f18a Merge pull request #5971 from thinkyhead/rc_fix_e_factors
Patch DISTINCT_E_FACTORS bug
8 years ago
Scott Lahteine bfb0007573 Patch DISTINCT_E_FACTORS bug 8 years ago
Scott Lahteine 87b03b16bd Use a macro for array copies 8 years ago
Scott Lahteine b3e2bd6f29 Reduce E_D_ratio code 8 years ago
Sebastianv650 de6c40ed8f Add option to fix E/D ratio
Work around for slicers producing buggy gcode.
8 years ago
Scott Lahteine 57f92a4632 Apply DISTINCT_E_FACTORS to sync_from_steppers
Followup to #5840
8 years ago
MagoKimbra 3685224c1a Fix steps_to_mm for active extruders 8 years ago
Scott Lahteine 97b6fb6381 Reduce / optimize LIN_ADVANCE code 8 years ago
Sebastianv650 1b59766fcb Cleanup position_float
Hopefully fixes Marlin #5481
8 years ago
esenapaj ab6b005867 Suppress warning 8 years ago
Scott Lahteine 87921f390a Clarify what are "logical" positions in the planner 8 years ago
esenapaj 069c6b38dd Remove unnecessary tabs and spaces 8 years ago
AnHardt d0e24e0876 Adaptive screen updates for all kinds of displays
The target here is to update the screens of graphical and char base
displays as fast as possible, without draining the planner buffer too much.

For that measure the time it takes to draw and transfer one
(partial) screen to the display. Build a max. value from that.
Because ther can be large differences, depending on how much the display
updates are interrupted, the max value is decreased by one ms/s. This way
it can shrink again.
On the other side we keep track on how much time it takes to empty the
planner buffer.
Now we draw the next (partial) display update only then, when we do not
drain the planner buffer to much. We draw only when the time in the
buffer is two times larger than a update takes, or the buffer is empty anyway.

When we have begun to draw a screen we do not wait until the next 100ms
time slot comes. We draw the next partial screen as fast as possible, but
give the system a chance to refill the buffers a bit.

When we see, during drawing a screen, the screen contend has changed,
we stop the current draw and begin to draw the new content from the top.
8 years ago
Scott Lahteine 7b625e0048 Patch fade_factor compiler warning 8 years ago
AnHardt 13eebd11cf volatile_block_buffer_runtime_us
`block_buffer_runtime_us` is mangled in the planner and in the stepper-ISR.
So it needs to be volatile and interrupt protected.
8 years ago
Scott Lahteine fc2fc828b3 Prettify LIN_ADVANCE code with the positive condition 8 years ago
Scott Lahteine 1929502e15 Add const to some variables 8 years ago
Scott Lahteine 2da4d22520 Pretty up ADVANCE code 8 years ago
Scott Lahteine af024e1d7c Pretty up coast / reverse jerk code 8 years ago
Scott Lahteine 3f3b5c86d8 Slightly shrink code for jerk-based reduction of safe_speed 8 years ago