🎨 Comment long functions end
This commit is contained in:
parent
5c59abaf6f
commit
9a8ad9d101
3 changed files with 7 additions and 7 deletions
|
|
@ -107,7 +107,7 @@ uint8_t get_pin_mode(const pin_t Ard_num) {
|
|||
|
||||
uint dir = gpio_get_dir( Ard_num);
|
||||
|
||||
if(dir) return MODE_PIN_OUTPUT;
|
||||
if (dir) return MODE_PIN_OUTPUT;
|
||||
else return MODE_PIN_INPUT;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -736,7 +736,7 @@ inline void manage_inactivity(const bool no_stepper_sleep=false) {
|
|||
WRITE(FET_SAFETY_PIN, FET_SAFETY_INVERTED);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
} // manage_inactivity()
|
||||
|
||||
#if ALL(EP_BABYSTEPPING, EMERGENCY_PARSER)
|
||||
#include "feature/babystep.h"
|
||||
|
|
@ -890,7 +890,7 @@ void idle(const bool no_stepper_sleep/*=false*/) {
|
|||
TERN_(MARLIN_DEV_MODE, idle_depth--);
|
||||
|
||||
return;
|
||||
}
|
||||
} // idle()
|
||||
|
||||
/**
|
||||
* Kill all activity and lock the machine.
|
||||
|
|
@ -983,7 +983,7 @@ void stop() {
|
|||
safe_delay(350); // allow enough time for messages to get out before stopping
|
||||
marlin_state = MarlinState::MF_STOPPED;
|
||||
}
|
||||
}
|
||||
} // stop()
|
||||
|
||||
inline void tmc_standby_setup() {
|
||||
#if PIN_EXISTS(X_STDBY)
|
||||
|
|
@ -1052,7 +1052,7 @@ inline void tmc_standby_setup() {
|
|||
#if PIN_EXISTS(E7_STDBY)
|
||||
SET_INPUT_PULLDOWN(E7_STDBY_PIN);
|
||||
#endif
|
||||
}
|
||||
} // tmc_standby_setup()
|
||||
|
||||
/**
|
||||
* Marlin Firmware entry-point. Abandon Hope All Ye Who Enter Here.
|
||||
|
|
@ -1702,7 +1702,7 @@ void setup() {
|
|||
SETUP_LOG("setup() completed.");
|
||||
|
||||
TERN_(MARLIN_TEST_BUILD, runStartupTests());
|
||||
}
|
||||
} // setup()
|
||||
|
||||
/**
|
||||
* The main Marlin program loop
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ xyz_pos_t Probe::offset; // Initialized by settings.load
|
|||
#ifdef MAG_MOUNTED_PRE_DEPLOY
|
||||
constexpr mag_probe_move_t pre_deploy = MAG_MOUNTED_PRE_DEPLOY;
|
||||
do_blocking_move_to(pre_deploy.where, MMM_TO_MMS(pre_deploy.fr_mm_min));
|
||||
#endif
|
||||
#endif
|
||||
#if HAS_MAG_MOUNTED_SERVO_PROBE
|
||||
servo[MAG_MOUNTED_PROBE_SERVO_NR].move(servo_angles[MAG_MOUNTED_PROBE_SERVO_NR][0]);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue