1
0
Fork 0

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:
Drashna Jael're 2019-11-15 14:27:46 -08:00 committed by Joel Challis
parent 381b73fcac
commit f6b5f6db76
2 changed files with 10 additions and 10 deletions

View file

@ -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);