|
|
@ -21,8 +21,7 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "../inc/MarlinConfigPre.h"
|
|
|
|
#include "../inc/MarlinConfig.h"
|
|
|
|
#include "../core/types.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define DEBUG_TOOLCHANGE_MIGRATION_FEATURE
|
|
|
|
//#define DEBUG_TOOLCHANGE_MIGRATION_FEATURE
|
|
|
|
|
|
|
|
|
|
|
@ -80,11 +79,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(PARKING_EXTRUDER)
|
|
|
|
#if ENABLED(PARKING_EXTRUDER)
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(PARKING_EXTRUDER_SOLENOIDS_INVERT)
|
|
|
|
#define PE_MAGNET_ON_STATE TERN_(PARKING_EXTRUDER_SOLENOIDS_INVERT, !)PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE
|
|
|
|
#define PE_MAGNET_ON_STATE !PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define PE_MAGNET_ON_STATE PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void pe_solenoid_set_pin_state(const uint8_t extruder_num, const uint8_t state);
|
|
|
|
void pe_solenoid_set_pin_state(const uint8_t extruder_num, const uint8_t state);
|
|
|
|
|
|
|
|
|
|
|
|