Improvements to Solenoid feature (#7369)
* Error out when Solenid pin is not defined Instead of defaulting to a (literally) random pin, error out instead. Because this pin may be used, or because that pin may not be exposed, or may not exist. * Remove 'SOLENOID_ACTIVE' setting since it's not used * Update documentation
This commit is contained in:
committed by
Joel Challis
parent
381b73fcac
commit
f6b5f6db76
@@ -29,12 +29,8 @@
|
||||
# define SOLENOID_MIN_DWELL 4
|
||||
#endif
|
||||
|
||||
#ifndef SOLENOID_ACTIVE
|
||||
# define SOLENOID_ACTIVE false
|
||||
#endif
|
||||
|
||||
#ifndef SOLENOID_PIN
|
||||
# define SOLENOID_PIN F6
|
||||
# error SOLENOID_PIN not defined
|
||||
#endif
|
||||
|
||||
void solenoid_buzz_on(void);
|
||||
|
Reference in New Issue
Block a user