Add option to control Solenoids under PARKING_EXTRUDER (#12028)
This commit is contained in:
1 parent
74cd6cb4fc
commit
f2ecf8d510
82 files changed
+95
-8
No files matched your search
@@ -22,13 +22,13 @@
|
||||
|
||||
#include "../inc/MarlinConfig.h"
|
||||
|
||||
#if ENABLED(EXT_SOLENOID)
|
||||
#if ENABLED(EXT_SOLENOID) || ENABLED(MANUAL_SOLENOID_CONTROL)
|
||||
|
||||
#include "solenoid.h"
|
||||
|
||||
#include "../module/motion.h" // for active_extruder
|
||||
|
||||
inline void enable_solenoid(const uint8_t num) {
|
||||
void enable_solenoid(const uint8_t num) {
|
||||
switch (num) {
|
||||
case 0:
|
||||
OUT_WRITE(SOL0_PIN, HIGH);
|
||||
|
||||
@@ -25,5 +25,6 @@
|
||||
|
||||
void enable_solenoid_on_active_extruder();
|
||||
void disable_all_solenoids();
|
||||
void enable_solenoid(const uint8_t num);
|
||||
|
||||
#endif // __SOLENOID_H__
|
||||
Reference in new issue
Block a user