Scott Lahteine
92b54aa27e
#define HAS_POWER_SWITCH
vor 10 Jahren
Scott Lahteine
6864280803
Use elif and parentheses in conditionals
vor 10 Jahren
Scott Lahteine
2faed961ce
Allow POWER_SUPPLY 0 for no power switch
vor 10 Jahren
Edward Patel
782464ea4d
Parentheses need here otherwise sanitycheck.h does wrong thing on line 222
vor 10 Jahren
AnHardt
94330705c7
Move definition of PIDdT back to temperature.h
make it unconditional
remove all definitions in the 'Configuration.h's
remove form 'Conditionals.h'
vor 10 Jahren
Scott Lahteine
19df90622b
Include Conditionals.h file in update
vor 10 Jahren
Scott Lahteine
2c9bd15625
Move LCD items to `Conditionals.h`
- `Conditionals.h` is included twice, setting LCD values the first time
vor 10 Jahren
Scott Lahteine
b6d381f863
Divide up Conditionals to get LCD items early
vor 10 Jahren
Scott Lahteine
33c7c6e11d
Conditionals.h requires Arduino.h
vor 10 Jahren
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
vor 10 Jahren