Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 yıl önce
Scott Lahteine
bfad23d3e2
(c) 2020
4 yıl önce
InsanityAutomation
df1e51258a
Add M851 X Y probe offsets (#15202 )
5 yıl önce
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
5 yıl önce
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 yıl önce
Scott Lahteine
49229d97db
Consistent _useTimerX tests
5 yıl önce
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
5 yıl önce
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans (#13298 )
5 yıl önce
Scott Lahteine
0feeef2604
Update copyright in headers
5 yıl önce
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
6 yıl önce
Scott Lahteine
9b9b62b218
delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index])
6 yıl önce
GMagician
9e93b7ccbd
[2.0.x] removed spaces
Removed spaces in array declaration
6 yıl önce
Dave Johnson
f58ba3a64e
Improve AVR arch detection
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments. Resolves compile failure in PIO for 8-bit Teensduino targets
More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
7 yıl önce
Scott Lahteine
54326fb06a
HAL updates
7 yıl önce
Scott Lahteine
2af62a5d8d
Apply spacing, const to some HAL code
7 yıl önce
Scott Lahteine
105324b85b
Match the license headers in other files
7 yıl önce
Christopher Pepper
4b16fa3272
Implement HAL and apply macros across code-base
Implement AVR Platform
7 yıl önce
GMagician
e9c72978c7
Implement SERVO_DELAY as array
This modify give SERVO_DELAY x servo basis
7 yıl önce
Scott Lahteine
941943c167
Apply const, spacing, etc.
7 yıl önce
Scott Lahteine
081bf1f879
Patch #else / #endif comments
7 yıl önce
Scott Lahteine
6131c62499
General cleanup
7 yıl önce
Scott Lahteine
e244399766
Additional cleanup of UBL code
7 yıl önce
AnHardt
fa26767efe
Replace all remaining 'boolean' with 'bool'
7 yıl önce
Scott Lahteine
c6226bb0aa
Unify config in a single include without nested includes
8 yıl önce
esenapaj
03b8f88092
Tab to Space
8 yıl önce
Scott Lahteine
03c70c1990
SERVO_DEACTIVATION_DELAY => SERVO_DELAY
8 yıl önce
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
8 yıl önce
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
8 yıl önce
Scott Lahteine
6e1bc03d3b
Additional wrapping for #3140
8 yıl önce
Scott Lahteine
f9ded2a7c4
Wrap macros to prevent bad expansions
8 yıl önce
Scott Lahteine
ff13070b59
Use _BV macros, patch up others
8 yıl önce
Scott Lahteine
209f5f21e0
Use macros where possible
Apply `constrain`, `NOMORE`, `NOLESS` and `CRITICAL_SECTION` macros
wherever possible.
8 yıl önce
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 yıl önce
Scott Lahteine
46453905d6
Apply remaining ENABLED/DISABLED conditionals
9 yıl önce
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
9 yıl önce
AnHardt
8b876241bd
Some more servo code tweaks
Just set up the pin. Don't move to a random position.
Simplify servo::move()
* servo::move() does not need the pin parameter - The pin is set during servo_init() with attach().
* servo::move() does not need a return value.
SERVO_LEVELING is the wrong condition to deactivate the servos.
Remove some temporary (Servo *) variables.
SanityCheck for the servo indexes.
9 yıl önce
Scott Lahteine
96ace72ddc
Servos attach/detach based only on servo config
Assuming #2470 fixed up the main issue.
9 yıl önce
Scott Lahteine
eacfe132aa
Change the name of servos[] and servo_t
9 yıl önce
Scott Lahteine
3b23ccd366
Patch servos code for move
- Have `Servo::attach` explicitly return -1 if it fails
- Check for -1 in `Servo::move` because `servoIndex` might be 0
- Make `attach` / `detach` calls conditional on `SERVO_LEVELING`
- Move `SERVO_LEVELING` define to `Conditionals.h`
9 yıl önce
AnHardt
a6628f12cc
Eliminate the further use of the pin-parameter
9 yıl önce
AnHardt
8504992e9f
Remove the additional pin variable in Servo.cpp
as sugested by @c-born
inhttps://github.com/MarlinFirmware/Marlin/issues/1885#issuecomment -92618240
9 yıl önce
Scott Lahteine
391386dd94
Update configs for new servo deactivation
9 yıl önce
AnHardt
2ddb2a2be9
Add Servo::move() to servo.cpp
move(pin, angel) - Sequence of attach(pin), write(angel),
if DEACTIVATE_SERVOS_AFTER_MOVE is defined waits SERVO_DEACTIVATION_DELAY, than detaches.
As we have jitter on the servos during moves of the steppers, and detaching them improves this behaviour,
the usual sequence to handle a servo movement is:
attach(pin)
write(angel)
delay(until the servo finished the move)
detache()
Here a function to handle the complete sequence.
9 yıl önce
Scott Lahteine
42465ee444
Cleanup of comments & spacing
9 yıl önce
Ivan Galvez Junquera
59529b755d
Fixed lowercase change missing on commit a22a228b .
Servo.cpp and Servo.h were changed to lowercase in Makefile but not their actual filenames.
9 yıl önce
Bernardo
e449659338
Update Servo.cpp
Updated "servo.h" to "Servo.h"
9 yıl önce
Scott Lahteine
a22a228bcc
Rename files to move them in the IDE
9 yıl önce
Scott Lahteine
06c3b37933
Formatting cleanup of quiet sources
Formatting for code-folding plus minor style changes to less active
code.
9 yıl önce
alexborro
d74aabf259
Revert "Change Auto_Bed_Leveling to Auto_Bed_Compensation"
9 yıl önce
John Davis
58c4473bea
Update Servo.cpp
Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION
9 yıl önce