🎨 Misc. cleanup (#25194)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Ashley 'DrToxic' Devine 2023-01-05 23:06:35 +00:00 committed by Scott Lahteine
parent a286daf697
commit 9ff1c30745
4 changed files with 9 additions and 8 deletions

View File

@ -211,7 +211,7 @@ bool load_filament(const_float_t slow_load_length/*=0*/, const_float_t fast_load
while (wait_for_user) {
impatient_beep(max_beep_count);
#if BOTH(FILAMENT_CHANGE_RESUME_ON_INSERT, FILAMENT_RUNOUT_SENSOR)
#if ENABLED(MULTI_FILAMENT_SENSOR)
#if MULTI_FILAMENT_SENSOR
#define _CASE_INSERTED(N) case N-1: if (READ(FIL_RUNOUT##N##_PIN) != FIL_RUNOUT##N##_STATE) wait_for_user = false; break;
switch (active_extruder) {
REPEAT_1(NUM_RUNOUT_SENSORS, _CASE_INSERTED)

View File

@ -33,9 +33,10 @@
//
#define X_STEP_PIN PB9
#define X_DIR_PIN PC2
#define Y_STEP_PIN PB7
#define Y_STEP_PIN PB7
#define Y_DIR_PIN PB8
#define Z_STEP_PIN PB5
#define Z_DIR_PIN PB6